clang-format: use custom brace/indent style

This commit is contained in:
Reuben Dunnington 2023-08-22 08:04:31 -07:00
parent 513bdacf64
commit d515dd8fec
Signed by: rdunnington
GPG Key ID: 4EC5290E704FD482
1 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,4 @@
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false
BreakBeforeBraces: Allman
Cpp11BracedListStyle: false Cpp11BracedListStyle: false
ColumnLimit: 0 ColumnLimit: 0
BreakBeforeBinaryOperators: NonAssignment BreakBeforeBinaryOperators: NonAssignment
@ -15,4 +14,22 @@ PointerAlignment: Left
SeparateDefinitionBlocks: Always SeparateDefinitionBlocks: Always
SpaceBeforeParens: Never SpaceBeforeParens: Never
ReflowComments: false ReflowComments: false
SortIncludes: false SortIncludes: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterExternBlock: false
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterObjCDeclaration: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
BeforeWhile: true
IndentExternBlock: false