clang format
This commit is contained in:
parent
b104aa7138
commit
589c3e5024
|
|
@ -1,3 +1,5 @@
|
|||
# This is "close" to correct but has a number of bugs that prevent
|
||||
# using it on the source tree.
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
AlignOperands: false
|
||||
|
|
@ -5,10 +7,11 @@ AllowAllArgumentsOnNextLine: false
|
|||
AllowAllConstructorInitializersOnNextLine: false
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AlwaysBreakAfterReturnType: TopLevel
|
||||
BinPackArguments: false
|
||||
# fails
|
||||
BinPackParameters: false
|
||||
BinPackArguments: false
|
||||
BraceWrapping:
|
||||
AfterClass: true
|
||||
AfterStruct: true
|
||||
|
|
@ -17,6 +20,8 @@ BraceWrapping:
|
|||
BreakBeforeBraces: Custom
|
||||
# fails if all initializers fit on one line
|
||||
BreakConstructorInitializers: AfterColon
|
||||
ColumnLimit: 0
|
||||
# fails
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||
ConstructorInitializerIndentWidth: 2
|
||||
IncludeBlocks: Preserve
|
||||
|
|
|
|||
Loading…
Reference in New Issue