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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user