Add an initial clang-format file

This commit is contained in:
Paul Adenot 2020-10-30 18:19:02 +01:00
parent a851a3ea8d
commit c81283271f

13
.clang-format Normal file
View file

@ -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