summaryrefslogtreecommitdiffstats
path: root/clang/docs/ReleaseNotes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang/docs/ReleaseNotes.rst')
-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