Skip to content
Commit a9d9a4d5 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

[clang-tidy] Add a little python script that can run clang-tidy and apply...

[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
parent ed92fb93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment