summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTyker <tyker1@outlook.com>2020-02-22 15:17:14 +0100
committerTyker <tyker1@outlook.com>2020-02-22 15:17:14 +0100
commit7f447b44f4eb73c35e6bc530a61bcaf30f78fc6d (patch)
tree83c296b6132621f4131043d5e52d9cce83b126b1 /clang
parent3a91c12e7aa4c84026f2952f7f03857eb9510a52 (diff)
downloadbcm5719-llvm-7f447b44f4eb73c35e6bc530a61bcaf30f78fc6d.tar.gz
bcm5719-llvm-7f447b44f4eb73c35e6bc530a61bcaf30f78fc6d.zip
[docs] Add -Wmisleading-indentation to clang's release notes.
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/ReleaseNotes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 18edc4ef51e..177bf848f94 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -75,6 +75,10 @@ Improvements to Clang's diagnostics
warning now offers fixits. Excluding -Wrange-loop-bind-reference it is now
part of -Wall. To reduce the number of false positives the diagnostic is
disabled in macros and template instantiations.
+- -Wmisleading-indentation has been added. This warning is similar to the GCC
+ 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.
Non-comprehensive list of changes in this release
-------------------------------------------------
OpenPOWER on IntegriCloud