Author: Aaron Ballman
Date: 2024-11-07T10:59:16-05:00
New Revision: 8449bf3d2137c467cd57a3a80663a9714dd57652

URL: 
https://github.com/llvm/llvm-project/commit/8449bf3d2137c467cd57a3a80663a9714dd57652
DIFF: 
https://github.com/llvm/llvm-project/commit/8449bf3d2137c467cd57a3a80663a9714dd57652.diff

LOG: Add release note for WG14 N3298

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 3e7d8e15110f9d..703422c9a6f0b3 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -274,6 +274,13 @@ C Language Changes
 C2y Feature Support
 ^^^^^^^^^^^^^^^^^^^
 
+- Updated conformance for `N3298 
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3298.htm>`_
+  which adds the ``i`` and ``j`` suffixes for the creation of a ``_Complex``
+  constant value. Clang has always supported these suffixes as a GNU extension,
+  so ``-Wgnu-imaginary-constant`` no longer has effect in C modes, as this is
+  not a C2y extension in C. ``-Wgnu-imaginary-constant`` still applies in C++
+  modes.
+
 - Clang updated conformance for `N3370 
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3370.htm>`_
   case range expressions. This feature was previously supported by Clang as a
   GNU extension, so ``-Wgnu-case-range`` no longer has effect in C modes, as


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to