[PATCH] D18766: [clang-tidy] Add check misc-multiple-statement-macro

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 12 09:10:13 PDT 2016


alexfh added inline comments.

================
Comment at: clang-tidy/misc/MultipleStatementMacroCheck.cpp:100
@@ +99,3 @@
+  diag(InnerRanges.back().first, "multiple statement macro used without "
+                                 "braces; some statements will be "
+                                 "unconditionally executed");
----------------
Now it seems clear to me. Thanks!


http://reviews.llvm.org/D18766





More information about the cfe-commits mailing list