diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-09-08 14:01:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-09-08 14:01:31 +0000 |
commit | a9d9a4d55a8ee0a0e5567b192936aba0894bd4b2 (patch) | |
tree | 3c580bc3fbe651efd2b48ba32d24bb21ab80ab22 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ed92fb9322c3b7f80bab68fe0de5d9a0d1967eb9 (diff) | |
download | llvm-a9d9a4d55a8ee0a0e5567b192936aba0894bd4b2.zip llvm-a9d9a4d55a8ee0a0e5567b192936aba0894bd4b2.tar.gz llvm-a9d9a4d55a8ee0a0e5567b192936aba0894bd4b2.tar.bz2 |
[clang-tidy] Add a little python script that can run clang-tidy and apply fixes over an entire codebase.
Ever wanted to fix all the header guards in clang? Now it's easy.
Make sure clang-tidy is in $PATH and a compilation database is available.
$ ./run-clang-tidy.py -checks=-*,llvm-header-guard -fix
... get coffee (or more CPU cores) ...
$ svn diff
Some may argue that this is just a glorified xargs -P, but it does a bit more ;)
Differential Revision: http://reviews.llvm.org/D5188
llvm-svn: 217368
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions