summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Commit message (Collapse)AuthorAgeFilesLines
* run-clang-tidy.py: don't fail when running without -checks=.Alexander Kornienko2014-09-221-2/+5
| | | | llvm-svn: 218227
* run-clang-tidy: Make clang-tidy path configurable and don't fail as horriblyBenjamin Kramer2014-09-081-9/+23
| | | | | | when it's not around. llvm-svn: 217374
* [clang-tidy] Add a little python script that can run clang-tidy and apply ↵Benjamin Kramer2014-09-081-0/+175
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
OpenPOWER on IntegriCloud