We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee8024 commit c30bde6Copy full SHA for c30bde6
Tools/fix_code_style.sh
@@ -13,9 +13,9 @@ fi
13
for arg in "$@"
14
do
15
if [ -f $arg ]; then
16
- clang-format-6.0 -i -style='{BasedOnStyle: google, ColumnLimit: 120}' $arg
+ clang-format -i -style='{BasedOnStyle: google, ColumnLimit: 120}' $arg
17
elif [ -d $arg ]; then
18
- find $arg -iname '*.h' -o -iname '*.cpp' -o -iname '*.hpp' | xargs clang-format-6.0 -i -style='{BasedOnStyle: google, ColumnLimit: 120}'
+ find $arg -iname '*.h' -o -iname '*.cpp' -o -iname '*.hpp' | xargs clang-format -i -style='{BasedOnStyle: google, ColumnLimit: 120}'
19
find $arg -iname '*.h' -o -iname '*.cpp' -o -iname '*.hpp' | xargs chmod 644
20
fi
21
done
0 commit comments