OpenSTA/.clang-format

23 lines
621 B
Plaintext
Raw Normal View History

2019-12-29 18:55:07 +01:00
Language: Cpp
BasedOnStyle: Google
AlignOperands: false
2020-04-12 06:32:05 +02:00
AllowAllArgumentsOnNextLine: false
2019-12-29 18:55:07 +01:00
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
2020-04-12 06:32:05 +02:00
AllowShortIfStatementsOnASingleLine: Never
2019-12-29 18:55:07 +01:00
AlwaysBreakAfterReturnType: TopLevel
# fails
BinPackParameters: false
2020-04-12 06:32:05 +02:00
BinPackArguments: false
2019-12-29 18:55:07 +01:00
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterFunction: true
2020-04-12 06:32:05 +02:00
BeforeElse: true
2019-12-29 18:55:07 +01:00
BreakBeforeBraces: Custom
2020-04-12 06:32:05 +02:00
# fails if all initializers fit on one line
2019-12-29 18:55:07 +01:00
BreakConstructorInitializers: AfterColon
2020-04-12 06:32:05 +02:00
# fails
ConstructorInitializerAllOnOneLineOrOnePerLine: false
IncludeBlocks: Preserve