add .clang-format
This commit is contained in:
parent
8dda0bc002
commit
3e17a38197
1 changed files with 18 additions and 0 deletions
18
.clang-format
Normal file
18
.clang-format
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
BasedOnStyle: GNU
|
||||
AlwaysBreakAfterDefinitionReturnType: All
|
||||
BreakBeforeBinaryOperators: None
|
||||
BinPackParameters: false
|
||||
SpaceAfterCStyleCast: true
|
||||
PointerAlignment: Right
|
||||
ColumnLimit: 0
|
||||
|
||||
AlignArrayOfStructures: Right
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignConsecutiveAssignments: true
|
||||
AlignConsecutiveBitFields: true
|
||||
AlignConsecutiveDeclarations: true
|
||||
AlignConsecutiveMacros: true
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AlignEscapedNewlines: true
|
||||
AlignOperands: true
|
||||
AlignTrailingComments: Always
|
||||
Loading…
Reference in a new issue