Skip to content

Commit

Permalink
[ReleaseNotes] Add some items for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Feb 27, 2020
1 parent e5cb702 commit 7af6fea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clang/docs/ReleaseNotes.rst
Expand Up @@ -79,6 +79,7 @@ Improvements to Clang's diagnostics
warning of the same name. It warns about statements that are indented as if
they were part of a if/else/for/while statement but are not semantically
part of that if/else/for/while.
- -Wbitwise-op-parentheses and -Wlogical-op-parentheses are disabled by default.
Non-comprehensive list of changes in this release
-------------------------------------------------
Expand Down Expand Up @@ -157,6 +158,13 @@ New Compiler Flags
``-ffile-prefix-map`` option is equivalent to specifying both
``-fdebug-prefix-map`` and ``-fmacro-prefix-map``.

- ``-fpatchable-function-entry=N[,M]`` is added to generate M NOPs before the
function entry and N-M NOPs after the function entry. This is used by AArch64
ftrace in the Linux kernel.

- ``-mbranches-within-32B-boundaries`` is added as an x86 assembler mitigation
for Intel's Jump Condition Code Erratum.

Deprecated Compiler Flags
-------------------------

Expand Down

0 comments on commit 7af6fea

Please sign in to comment.