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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits