[PATCH] D19586: Misleading Indentation check
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 27 10:09:31 PDT 2016
Eugene.Zelenko added a subscriber: Eugene.Zelenko.
Eugene.Zelenko added a comment.
Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).
What about for ans while statements?
================
Comment at: docs/clang-tidy/checks:10
@@ +9,3 @@
+
+The way to avoid dangling else is to always check that an else belongs to the if that begins in th
+
----------------
Please highlight if/else with ``.
================
Comment at: docs/clang-tidy/checks:12
@@ +11,3 @@
+
+You can omit braces when your inner part of e.g. an IF statement has only one statement in it. Alt
+
----------------
Please use ``if'' instead of IF.
http://reviews.llvm.org/D19586
More information about the cfe-commits
mailing list