Skip to content

Commit

Permalink
Merge pull request #126 from bukka/format_clang_google
Browse files Browse the repository at this point in the history
Format code using clang-format Google style
  • Loading branch information
bukka authored Mar 14, 2021
2 parents cb8bc18 + 71f1e3f commit a3cd24e
Show file tree
Hide file tree
Showing 24 changed files with 11,269 additions and 12,142 deletions.
6 changes: 6 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
BasedOnStyle: Google
SortIncludes: 'false'
ColumnLimit: 100

...
3 changes: 3 additions & 0 deletions format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

find src -regex '.*\.\(cpp\|hpp\|c\|h\)' -exec clang-format -i {} \;
Loading

0 comments on commit a3cd24e

Please sign in to comment.