Skip to content

Commit 8449bf3

Browse files
committed
Add release note for WG14 N3298
1 parent e373ba4 commit 8449bf3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,13 @@ C Language Changes
274274
C2y Feature Support
275275
^^^^^^^^^^^^^^^^^^^
276276

277+
- Updated conformance for `N3298 <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3298.htm>`_
278+
which adds the ``i`` and ``j`` suffixes for the creation of a ``_Complex``
279+
constant value. Clang has always supported these suffixes as a GNU extension,
280+
so ``-Wgnu-imaginary-constant`` no longer has effect in C modes, as this is
281+
not a C2y extension in C. ``-Wgnu-imaginary-constant`` still applies in C++
282+
modes.
283+
277284
- Clang updated conformance for `N3370 <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3370.htm>`_
278285
case range expressions. This feature was previously supported by Clang as a
279286
GNU extension, so ``-Wgnu-case-range`` no longer has effect in C modes, as

0 commit comments

Comments
 (0)