Last active
January 25, 2020 01:35
-
-
Save Trass3r/81c4d698db53def08142d3c103030ac7 to your computer and use it in GitHub Desktop.
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
for %f in (src/*.cpp) do clang-tidy -p buildNinja --config="{Checks: '-*,modernize-use-default-member-init', CheckOptions: [{key: UseAssignment, value: 1}]}" --header-filter=src src\%f --fix-errors | |
for %f in (src/*.cpp) do clang-tidy -p buildNinja --config="{Checks: '-*,cppcoreguidelines-pro-type-member-init', CheckOptions: [{key: UseAssignment, value: 1}, {key: IgnoreArrays, value: 1}]}" --header-filter=src src\%f --fix-errors | |
for %f in (src/*.cpp) do clang-tidy -p buildNinja --checks=-*,modernize-loop-convert --header-filter=src src\%f --fix-errors | |
for %f in (src/*.cpp) do clang-tidy -p buildNinja --config="{Checks: '-*,modernize-use-override', CheckOptions: [{key: IgnoreDestructors, value: 1}]}" --header-filter=src src\%f --fix-errors | |
# redundant casts | |
"C:\Program Files\Git\usr\bin\find.exe" src -name "*.cpp" | "C:\Program Files\Git\usr\bin\xargs.exe" clang-tidy -p buildNinja --checks=-*,google-readability-casting --header-filter=src --export-fixes=casts.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment