Author: Tyker
Date: 2020-02-22T15:17:14+01:00
New Revision: 7f447b44f4eb73c35e6bc530a61bcaf30f78fc6d

URL: 
https://github.com/llvm/llvm-project/commit/7f447b44f4eb73c35e6bc530a61bcaf30f78fc6d
DIFF: 
https://github.com/llvm/llvm-project/commit/7f447b44f4eb73c35e6bc530a61bcaf30f78fc6d.diff

LOG: [docs] Add -Wmisleading-indentation to clang's release notes.

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 18edc4ef51e3..177bf848f94c 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
 -------------------------------------------------


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to