clang-format

This commit is contained in:
James Cherry 2020-04-11 21:32:05 -07:00
parent 1623486428
commit ba3f150367
1 changed files with 8 additions and 2 deletions

View File

@ -1,16 +1,22 @@
Language: Cpp
BasedOnStyle: Google
AlignOperands: false
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Never
AlwaysBreakAfterReturnType: TopLevel
# fails
BinPackParameters: false
BinPackArguments: false
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterFunction: true
BeforeElse: true
BreakBeforeBraces: Custom
# fails
# fails if all initializers fit on one line
BreakConstructorInitializers: AfterColon
# fails
ConstructorInitializerAllOnOneLineOrOnePerLine: false
IncludeBlocks: Preserve