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
a perfect match (all conversion sequences are identity conversions) template candidates are not instantiated.
124
124
Diagnostics that would have resulted from the instantiation of these template candidates are no longer
125
125
produced. This aligns Clang closer to the behavior of GCC, and fixes (#GH62096), (#GH74581), and (#GH74581).
126
+
- Implemented `P2719R5 Type-aware allocation and deallocation functions <https://wg21.link/P2719>`_
127
+
as an extension in all C++ language modes.
126
128
127
129
C++2c Feature Support
128
130
^^^^^^^^^^^^^^^^^^^^^
@@ -359,6 +361,12 @@ Non-comprehensive list of changes in this release
359
361
ARC-managed pointers and other pointer types. The prior behavior was overly
360
362
strict and inconsistent with the ARC specification.
361
363
364
+
- Use of ``__has_feature`` to detect the ``ptrauth_qualifier`` and ``ptrauth_intrinsics``
365
+
features has been deprecated, and is restricted to the arm64e target only. The
366
+
correct method to check for these features is to test for the ``__PTRAUTH__``
367
+
macro.
368
+
369
+
362
370
New Compiler Flags
363
371
------------------
364
372
@@ -378,6 +386,11 @@ New Compiler Flags
378
386
379
387
- New options ``-fthinlto-distributor=`` and ``-Xthinlto-distributor=`` added for Integrated Distributed ThinLTO (DTLTO). DTLTO enables the distribution of backend ThinLTO compilations via external distribution systems, such as Incredibuild, during the traditional link step. (#GH147265, `ThinLTODocs <https://clang.llvm.org/docs/ThinLTO.html#integrated-distributed-thinlto-dtlto>`_).
380
388
389
+
- A new flag - `-static-libclosure` was introduced to support statically linking
390
+
the runtime for the Blocks extension on Windows. This flag currently only
391
+
changes the code generation, and even then, only on Windows. This does not
392
+
impact the linker behaviour like the other `-static-*` flags.
393
+
381
394
Deprecated Compiler Flags
382
395
-------------------------
383
396
@@ -676,7 +689,7 @@ Improvements to Clang's diagnostics
- OpenACC support, enabled via `-fopenacc` has reached a level of completeness
1014
+
to finally be at least notionally usable. Currently, the OpenACC 3.4
1015
+
specification has been completely implemented for Sema and AST creation, so
1016
+
nodes will show up in the AST after having been properly checked. Lowering is
1017
+
currently a work in progress, with compute, loop, and combined constructs
1018
+
partially implemented, plus a handful of data and executable constructs
1019
+
implemented. Lowering will only work in Clang-IR mode (so only with a compiler
1020
+
built with Clang-IR enabled, and with `-fclangir` used on the command line).
1021
+
However, note that the Clang-IR implementation status is also quite partial,
1022
+
so frequent 'not yet implemented' diagnostics should be expected. Also, the
1023
+
ACC MLIR dialect does not currently implement any lowering to LLVM-IR, so no
1024
+
code generation is possible for OpenACC.
1025
+
1000
1026
Target Specific Changes
1001
1027
-----------------------
1002
1028
@@ -1125,9 +1151,19 @@ CUDA/HIP Language Changes
1125
1151
CUDA Support
1126
1152
^^^^^^^^^^^^
1127
1153
1154
+
PowerPC Support
1155
+
^^^^^^^^^^^^^^^
1156
+
1157
+
* Add `__dmr1024` type for Dense Math Facility.
1158
+
* Add prototype for Dense Math Facility integer calculation builtins.
1159
+
1128
1160
AIX Support
1129
1161
^^^^^^^^^^^
1130
1162
1163
+
* Fixed `-print-runtime-dir` to fallback to the target subdirectory (rather than OS subdirectory) if the runtime path is not found.
1164
+
* Fixed `-print-runtime-dir` to find the correct runtime path if the triple has "unknown" as the environment component.
1165
+
* Changed AIX targets to use the per-target runtime directories for compiler runtimes (i.e. `lib/clang/20/lib/aix` became `lib/clang/21/lib/powerpc-ibm-aix` and `clang/21/lib/powerpc64-ibm-aix`).
1166
+
1131
1167
NetBSD Support
1132
1168
^^^^^^^^^^^^^^
1133
1169
@@ -1198,53 +1234,112 @@ Code Completion
1198
1234
1199
1235
Static Analyzer
1200
1236
---------------
1201
-
- Fixed a crash when C++20 parenthesized initializer lists are used. This issue
1202
-
was causing a crash in clang-tidy. (#GH136041)
1203
1237
1204
1238
New features
1205
1239
^^^^^^^^^^^^
1206
1240
1207
-
- A new flag - `-static-libclosure` was introduced to support statically linking
1208
-
the runtime for the Blocks extension on Windows. This flag currently only
1209
-
changes the code generation, and even then, only on Windows. This does not
1210
-
impact the linker behaviour like the other `-static-*` flags.
1211
-
- OpenACC support, enabled via `-fopenacc` has reached a level of completeness
1212
-
to finally be at least notionally usable. Currently, the OpenACC 3.4
1213
-
specification has been completely implemented for Sema and AST creation, so
1214
-
nodes will show up in the AST after having been properly checked. Lowering is
1215
-
currently a work in progress, with compute, loop, and combined constructs
1216
-
partially implemented, plus a handful of data and executable constructs
1217
-
implemented. Lowering will only work in Clang-IR mode (so only with a compiler
1218
-
built with Clang-IR enabled, and with `-fclangir` used on the command line).
1219
-
However, note that the Clang-IR implementation status is also quite partial,
1220
-
so frequent 'not yet implemented' diagnostics should be expected. Also, the
1221
-
ACC MLIR dialect does not currently implement any lowering to LLVM-IR, so no
1222
-
code generation is possible for OpenACC.
1223
-
- Implemented `P2719R5 Type-aware allocation and deallocation functions <https://wg21.link/P2719>`_
1224
-
as an extension in all C++ language modes.
1241
+
- Added support for the ``[[clang::assume(cond)]]`` attribute, treating it as
1242
+
``__builtin_assume(cond)`` for better static analysis. (#GH129234)
1225
1243
1244
+
- Introduced per-entry-point statistics to provide more detailed analysis metrics.
0 commit comments