Skip to content

Commit 7af6fea

Browse files
committed
[ReleaseNotes] Add some items for clang
1 parent e5cb702 commit 7af6fea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Improvements to Clang's diagnostics
7979
warning of the same name. It warns about statements that are indented as if
8080
they were part of a if/else/for/while statement but are not semantically
8181
part of that if/else/for/while.
82+
- -Wbitwise-op-parentheses and -Wlogical-op-parentheses are disabled by default.
8283
8384
Non-comprehensive list of changes in this release
8485
-------------------------------------------------
@@ -157,6 +158,13 @@ New Compiler Flags
157158
``-ffile-prefix-map`` option is equivalent to specifying both
158159
``-fdebug-prefix-map`` and ``-fmacro-prefix-map``.
159160

161+
- ``-fpatchable-function-entry=N[,M]`` is added to generate M NOPs before the
162+
function entry and N-M NOPs after the function entry. This is used by AArch64
163+
ftrace in the Linux kernel.
164+
165+
- ``-mbranches-within-32B-boundaries`` is added as an x86 assembler mitigation
166+
for Intel's Jump Condition Code Erratum.
167+
160168
Deprecated Compiler Flags
161169
-------------------------
162170

0 commit comments

Comments
 (0)