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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,8 @@ 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
-------------------------------------------------
@@ -275,6 +277,10 @@ Improvements to Clang's diagnostics
275
277
- Diagnostics on chained comparisons (``a < b < c``) are now an error by default. This can be disabled with
276
278
``-Wno-error=parentheses``.
277
279
- Clang now better preserves the sugared types of pointers to member.
280
+
- Clang now better preserves the presence of the template keyword with dependent
281
+
prefixes.
282
+
- When printing types for diagnostics, clang now doesn't suppress the scopes of
283
+
template arguments contained within nested names.
278
284
- The ``-Wshift-bool`` warning has been added to warn about shifting a boolean. (#GH28334)
279
285
- Fixed diagnostics adding a trailing ``::`` when printing some source code
280
286
constructs, like base classes.
@@ -307,6 +313,8 @@ Improvements to Clang's diagnostics
307
313
308
314
Fixes #GH61635
309
315
316
+
- 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.
317
+
310
318
Improvements to Clang's time-trace
311
319
----------------------------------
312
320
@@ -333,6 +341,9 @@ Bug Fixes in This Version
333
341
- Fixed a problematic case with recursive deserialization within ``FinishedDeserializing()`` where
334
342
``PassInterestingDeclsToConsumer()`` was called before the declarations were safe to be passed. (#GH129982)
335
343
- Fixed a modules crash where an explicit Constructor was deserialized. (#GH132794)
344
+
- Defining an integer literal suffix (e.g., ``LL``) before including
345
+
``<stdint.h>`` in a freestanding build no longer causes invalid token pasting
346
+
when using the ``INTn_C`` macros. (#GH85995)
336
347
337
348
Bug Fixes to Compiler Builtins
338
349
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -366,6 +377,9 @@ Bug Fixes to C++ Support
366
377
- Clang now uses the parameter location for abbreviated function templates in ``extern "C"``. (#GH46386)
367
378
- Clang will emit an error instead of crash when use co_await or co_yield in
0 commit comments