Skip to content

Commit

Permalink
script to apply clang-format to all source and header files
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rauch committed Jan 25, 2021
1 parent 0e725ef commit ea8e2e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions format_source_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
find . -regex '.*\.\(cpp\|hpp\|h\)' -exec clang-format -style=file -i {} \;

0 comments on commit ea8e2e2

Please sign in to comment.