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