mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
clang-format
This commit is contained in:
@@ -1,16 +1,22 @@
|
|||||||
Language: Cpp
|
Language: Cpp
|
||||||
BasedOnStyle: Google
|
BasedOnStyle: Google
|
||||||
AlignOperands: false
|
AlignOperands: false
|
||||||
|
AllowAllArgumentsOnNextLine: false
|
||||||
AllowAllConstructorInitializersOnNextLine: false
|
AllowAllConstructorInitializersOnNextLine: false
|
||||||
AllowAllParametersOfDeclarationOnNextLine: false
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||||||
AllowShortFunctionsOnASingleLine: InlineOnly
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
AlwaysBreakAfterReturnType: TopLevel
|
AlwaysBreakAfterReturnType: TopLevel
|
||||||
# fails
|
# fails
|
||||||
BinPackParameters: false
|
BinPackParameters: false
|
||||||
|
BinPackArguments: false
|
||||||
BraceWrapping:
|
BraceWrapping:
|
||||||
AfterClass: true
|
AfterClass: true
|
||||||
AfterStruct: true
|
AfterStruct: true
|
||||||
AfterFunction: true
|
AfterFunction: true
|
||||||
|
BeforeElse: true
|
||||||
BreakBeforeBraces: Custom
|
BreakBeforeBraces: Custom
|
||||||
# fails
|
# fails if all initializers fit on one line
|
||||||
BreakConstructorInitializers: AfterColon
|
BreakConstructorInitializers: AfterColon
|
||||||
|
# fails
|
||||||
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||||
|
IncludeBlocks: Preserve
|
||||||
|
|||||||
Reference in New Issue
Block a user