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
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,22 @@ Lanai Support
221
221
^^^^^^^^^^^^^^
222
222
- The option ``-mcmodel={small,medium,large}`` is supported again.
223
223
224
+
- New option ``-Wundef-true`` added and enabled by default to warn when `true` is used in the C preprocessor without being defined before C23.
225
+
226
+
- New option ``-fprofile-continuous`` added to enable continuous profile syncing to file (#GH124353, `docs <https://clang.llvm.org/docs/UsersManual.html#cmdoption-fprofile-continuous>`_).
227
+
The feature has `existed <https://clang.llvm.org/docs/SourceBasedCodeCoverage.html#running-the-instrumented-program>`_)
228
+
for a while and this is just a user facing option.
229
+
230
+
- New option ``-ftime-report-json`` added which outputs the same timing data as ``-ftime-report`` but formatted as JSON.
231
+
232
+
- New option ``-Wnrvo`` added and disabled by default to warn about missed NRVO opportunities.
233
+
234
+
- New option ``-ignore-pch`` added to disable precompiled headers. It overrides ``-emit-pch`` and ``-include-pch``. (#GH142409, `PCHDocs <https://clang.llvm.org/docs/UsersManual.html#ignoring-a-pch-file>`_).
235
+
236
+
- New options ``-g[no-]key-instructions`` added, disabled by default. Reduces jumpiness of debug stepping for optimized code in some debuggers (not LLDB at this time). Not recommended for use without optimizations. DWARF only. Note both the positive and negative flags imply ``-g``.
237
+
238
+
- New option ``-foverflow-behavior-types`` added to enable parsing of the ``overflow_behavior`` type attribute.
239
+
224
240
Deprecated Compiler Flags
225
241
-------------------------
226
242
@@ -234,6 +250,10 @@ Removed Compiler Flags
234
250
Attribute Changes in Clang
235
251
--------------------------
236
252
253
+
- Introduced a new type attribute ``__attribute__((overflow_behavior))`` which
254
+
currently accepts either ``wrap`` or ``no_wrap`` as an argument, enabling
255
+
type-level control over overflow behavior.
256
+
237
257
Improvements to Clang's diagnostics
238
258
-----------------------------------
239
259
- Added a separate diagnostic group ``-Wfunction-effect-redeclarations``, for the more pedantic
0 commit comments