Skip to content

Commit

Permalink
First cut at a .clang-format for the project
Browse files Browse the repository at this point in the history
Example file with this format applied

Apply the new style policy to an example file
  • Loading branch information
donporter committed Nov 24, 2018
1 parent 203a392 commit 139d49a
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 138 deletions.
10 changes: 10 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BasedOnStyle: Google
AlignConsecutiveAssignments: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
ColumnLimit: 100
DerivePointerAlignment: false
IndentWidth: 4
ObjCBlockIndentWidth: 4
PointerAlignment: Left
TabWidth: 4
Loading

0 comments on commit 139d49a

Please sign in to comment.