Skip to content

Commit db8a389

Browse files
committed
[Docs] Add back lost release notes; NFC
When release notes were cleared on ``main``, there were some notes lost because the changes happened after the branch point for 21.x. This restores the lost notes.
1 parent 04f5198 commit db8a389

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ C/C++ Language Potentially Breaking Changes
3939

4040
C++ Specific Potentially Breaking Changes
4141
-----------------------------------------
42+
- For C++20 modules, the Reduced BMI mode will be the default option. This may introduce
43+
regressions if your build system supports two-phase compilation model but haven't support
44+
reduced BMI or it is a compiler bug or a bug in users code.
4245

4346
ABI Changes in This Version
4447
---------------------------
@@ -84,6 +87,8 @@ C23 Feature Support
8487

8588
Non-comprehensive list of changes in this release
8689
-------------------------------------------------
90+
- Added ``__builtin_elementwise_minnumnum`` and ``__builtin_elementwise_maxnumnum``.
91+
8792

8893
New Compiler Flags
8994
------------------
@@ -102,6 +107,11 @@ Attribute Changes in Clang
102107

103108
Improvements to Clang's diagnostics
104109
-----------------------------------
110+
- Added a separate diagnostic group ``-Wfunction-effect-redeclarations``, for the more pedantic
111+
diagnostics for function effects (``[[clang::nonblocking]]`` and ``[[clang::nonallocating]]``).
112+
Moved the warning for a missing (though implied) attribute on a redeclaration into this group.
113+
Added a new warning in this group for the case where the attribute is missing/implicit on
114+
an override of a virtual method.
105115

106116
Improvements to Clang's time-trace
107117
----------------------------------
@@ -111,6 +121,8 @@ Improvements to Coverage Mapping
111121

112122
Bug Fixes in This Version
113123
-------------------------
124+
- Fix a crash when marco name is empty in ``#pragma push_macro("")`` or
125+
``#pragma pop_macro("")``. (#GH149762).
114126

115127
Bug Fixes to Compiler Builtins
116128
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -120,6 +132,8 @@ Bug Fixes to Attribute Support
120132

121133
Bug Fixes to C++ Support
122134
^^^^^^^^^^^^^^^^^^^^^^^^
135+
- Diagnose binding a reference to ``*nullptr`` during constant evaluation. (#GH48665)
136+
- Suppress ``-Wdeprecated-declarations`` in implicitly generated functions. (#GH147293)
123137

124138
Bug Fixes to AST Handling
125139
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -189,6 +203,8 @@ Fixed Point Support in Clang
189203

190204
AST Matchers
191205
------------
206+
- Ensure ``hasBitWidth`` doesn't crash on bit widths that are dependent on template
207+
parameters.
192208

193209
clang-format
194210
------------
@@ -201,6 +217,8 @@ Code Completion
201217

202218
Static Analyzer
203219
---------------
220+
- The Clang Static Analyzer now handles parenthesized initialization.
221+
(#GH148875)
204222

205223
New features
206224
^^^^^^^^^^^^
@@ -224,6 +242,9 @@ Python Binding Changes
224242

225243
OpenMP Support
226244
--------------
245+
- Added parsing and semantic analysis support for the ``need_device_addr``
246+
modifier in the ``adjust_args`` clause.
247+
- Allow array length to be omitted in array section subscript expression.
227248

228249
Improvements
229250
^^^^^^^^^^^^

0 commit comments

Comments
 (0)