aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-10-02 19:09:56 +0000
committerAlexander Kornienko <alexfh@google.com>2014-10-02 19:09:56 +0000
commit8f7e7f73ea54414d86acaf1cf37ea8a1c3d28cec (patch)
tree3b9ebac2f3f0ded6171c7dd52aefacd9862414d5 /llvm/lib/Object/COFFObjectFile.cpp
parent325111bcc6ee751e16faeeca405ed4b103b2ffce (diff)
downloadllvm-8f7e7f73ea54414d86acaf1cf37ea8a1c3d28cec.zip
llvm-8f7e7f73ea54414d86acaf1cf37ea8a1c3d28cec.tar.gz
llvm-8f7e7f73ea54414d86acaf1cf37ea8a1c3d28cec.tar.bz2
[clang-tidy] Add check misc-braces-around-statements.
This check looks for if statements and loops: for, range-for, while and do-while, and verifies that the inside statements are inside braces '{}'. If not, proposes to add braces around them. Example: if (condition) action(); becomes if (condition) { action(); } This check ought to be used with the -format option, so that the braces be well-formatted. Patch by Marek Kurdej! http://reviews.llvm.org/D5395 llvm-svn: 218898
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions