Skip to content

Commit

Permalink
Format code using clang-format Google style
Browse files Browse the repository at this point in the history
  • Loading branch information
bukka committed Feb 21, 2021
1 parent cb8bc18 commit 71f1e3f
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 71f1e3f

Please sign in to comment.