From 7f447b44f4eb73c35e6bc530a61bcaf30f78fc6d Mon Sep 17 00:00:00 2001 From: Tyker Date: Sat, 22 Feb 2020 15:17:14 +0100 Subject: [docs] Add -Wmisleading-indentation to clang's release notes. --- clang/docs/ReleaseNotes.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/docs/ReleaseNotes.rst') 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 ------------------------------------------------- -- cgit v1.2.3