[PATCH] D18766: [clang-tidy] Add check misc-multiple-statement-macro
Samuel Benzaquen via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 4 11:27:45 PDT 2016
sbenza created this revision.
sbenza added a reviewer: alexfh.
sbenza added a subscriber: cfe-commits.
The check detects multi-statement macros that are used in unbraced conditionals.
Only the first statement will be part of the conditionals and the rest will fall
outside of it and executed unconditionally.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9803 bytes
Desc: not available
More information about the cfe-commits