You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clang/docs/ReleaseNotes.rst
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,12 +159,15 @@ C23 Feature Support
159
159
which clarified that a compound literal used within a function prototype is
160
160
treated as if the compound literal were within the body rather than at file
161
161
scope.
162
+
- Fixed a bug where you could not cast a null pointer constant to type
163
+
``nullptr_t``. Fixes #GH133644.
162
164
163
165
Non-comprehensive list of changes in this release
164
166
-------------------------------------------------
165
167
166
168
- Support parsing the `cc` operand modifier and alias it to the `c` modifier (#GH127719).
167
169
- Added `__builtin_elementwise_exp10`.
170
+
- For AMDPGU targets, added `__builtin_v_cvt_off_f32_i4` that maps to the `v_cvt_off_f32_i4` instruction.
168
171
169
172
New Compiler Flags
170
173
------------------
@@ -275,6 +278,10 @@ Improvements to Clang's diagnostics
275
278
- Diagnostics on chained comparisons (``a < b < c``) are now an error by default. This can be disabled with
276
279
``-Wno-error=parentheses``.
277
280
- Clang now better preserves the sugared types of pointers to member.
281
+
- Clang now better preserves the presence of the template keyword with dependent
282
+
prefixes.
283
+
- When printing types for diagnostics, clang now doesn't suppress the scopes of
284
+
template arguments contained within nested names.
278
285
- The ``-Wshift-bool`` warning has been added to warn about shifting a boolean. (#GH28334)
279
286
- Fixed diagnostics adding a trailing ``::`` when printing some source code
280
287
constructs, like base classes.
@@ -307,6 +314,8 @@ Improvements to Clang's diagnostics
307
314
308
315
Fixes #GH61635
309
316
317
+
- Split diagnosing base class qualifiers from the ``-Wignored-Qualifiers`` diagnostic group into a new ``-Wignored-base-class-qualifiers`` diagnostic group (which is grouped under ``-Wignored-qualifiers``). Fixes #GH131935.
318
+
310
319
Improvements to Clang's time-trace
311
320
----------------------------------
312
321
@@ -333,6 +342,9 @@ Bug Fixes in This Version
333
342
- Fixed a problematic case with recursive deserialization within ``FinishedDeserializing()`` where
334
343
``PassInterestingDeclsToConsumer()`` was called before the declarations were safe to be passed. (#GH129982)
335
344
- Fixed a modules crash where an explicit Constructor was deserialized. (#GH132794)
345
+
- Defining an integer literal suffix (e.g., ``LL``) before including
346
+
``<stdint.h>`` in a freestanding build no longer causes invalid token pasting
347
+
when using the ``INTn_C`` macros. (#GH85995)
336
348
337
349
Bug Fixes to Compiler Builtins
338
350
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -366,6 +378,9 @@ Bug Fixes to C++ Support
366
378
- Clang now uses the parameter location for abbreviated function templates in ``extern "C"``. (#GH46386)
367
379
- Clang will emit an error instead of crash when use co_await or co_yield in
0 commit comments