Skip to content

Commit

Permalink
Adding formatter that ignores include order
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnell committed Nov 11, 2021
1 parent e87e329 commit 0831862
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FORMAT='clang-format -style="{BasedOnStyle: Google,SortIncludes: false}" -i'

for VARIABLE in "C" "cc" "hh" "h" "cpp"
do
find . -type f -name "*.$VARIABLE" -exec echo ${FORMAT} \{\} \;
done

0 comments on commit 0831862

Please sign in to comment.