[PATCH] D18766: [clang-tidy] Add check misc-multiple-statement-macro
Samuel Benzaquen via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 5 09:07:18 PDT 2016
sbenza added inline comments.
================
Comment at: docs/clang-tidy/checks/misc-multiple-statement-macro.rst:15
@@ +14,3 @@
+ if (do_increment)
+ INCREMENT_TWO(a, b);
+
----------------
hokein wrote:
> Would be better to add a comment to explain the sample.
The sentence just before the example explains what the problem is.
http://reviews.llvm.org/D18766
More information about the cfe-commits
mailing list