diff options
| author | Samuel Benzaquen <sbenza@google.com> | 2016-04-14 21:15:57 +0000 | 
|---|---|---|
| committer | Samuel Benzaquen <sbenza@google.com> | 2016-04-14 21:15:57 +0000 | 
| commit | 4fa2d57c6db8c7c5e017761643606697c050787c (patch) | |
| tree | b5d64e06f0870cbd790306e8334bec61808321c8 /llvm/lib/Target/CppBackend/CPPBackend.cpp | |
| parent | 1ca263c8903b765349d48490de1bfa7def0dc48d (diff) | |
| download | llvm-4fa2d57c6db8c7c5e017761643606697c050787c.zip llvm-4fa2d57c6db8c7c5e017761643606697c050787c.tar.gz llvm-4fa2d57c6db8c7c5e017761643606697c050787c.tar.bz2 | |
[clang-tidy] Add check misc-multiple-statement-macro
Summary:
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.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D18766
llvm-svn: 266369
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
0 files changed, 0 insertions, 0 deletions
