Skip to content

Commit

Permalink
Add an initial clang-format file
Browse files Browse the repository at this point in the history
  • Loading branch information
padenot committed Nov 2, 2020
1 parent a851a3e commit c812832
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
IndentWidth: 2
UseTab: Never
ReflowComments: true
PointerAlignment: Middle
AlignAfterOpenBracket: Align
AlwaysBreakAfterReturnType: TopLevel
ColumnLimit: 80
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
AfterControlStatement: Never
SpaceBeforeParens: ControlStatements
BreakBeforeBinaryOperators: None

0 comments on commit c812832

Please sign in to comment.