Last active
August 29, 2015 14:27
-
-
Save daniel-j-h/476b0a6e7968e654bedd to your computer and use it in GitHub Desktop.
clang-modernize all the things (in parallel)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git ls-files '*.cpp' | \ | |
xargs -I{} -P $(nproc) clang-modernize -p build -final-syntax-check -format -style=file -summary -for-compilers=clang-3.4,gcc-4.8 -include . -exclude third_party {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment