clang-format
This commit is contained in:
parent
1623486428
commit
ba3f150367
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue