mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
format:update clang-format
This commit is contained in:
parent
801fbe445b
commit
2ef3c560a7
|
@ -1,10 +1,17 @@
|
||||||
# Format Style Options - Created with Clang Power Tools
|
# Format Style Options - Created with Clang Power Tools
|
||||||
---
|
---
|
||||||
|
AlignAfterOpenBracket: Align
|
||||||
|
AlignOperands: AlignAfterOperator
|
||||||
|
AllowAllArgumentsOnNextLine: false
|
||||||
|
AllowShortBlocksOnASingleLine: Never
|
||||||
AllowShortFunctionsOnASingleLine: None
|
AllowShortFunctionsOnASingleLine: None
|
||||||
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
BinPackArguments: false
|
BinPackArguments: false
|
||||||
BinPackParameters: false
|
BinPackParameters: false
|
||||||
|
BreakBeforeBinaryOperators: None
|
||||||
BreakBeforeBraces: Allman
|
BreakBeforeBraces: Allman
|
||||||
|
BreakBeforeTernaryOperators: true
|
||||||
BreakConstructorInitializers: AfterColon
|
BreakConstructorInitializers: AfterColon
|
||||||
ColumnLimit: 120
|
ColumnLimit: 120
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||||
|
@ -12,6 +19,7 @@ ConstructorInitializerIndentWidth : 2
|
||||||
ContinuationIndentWidth: 2
|
ContinuationIndentWidth: 2
|
||||||
MaxEmptyLinesToKeep: 2
|
MaxEmptyLinesToKeep: 2
|
||||||
PointerAlignment: Middle
|
PointerAlignment: Middle
|
||||||
|
SortIncludes: false
|
||||||
SpacesInAngles: true
|
SpacesInAngles: true
|
||||||
SpacesInParentheses: true
|
SpacesInParentheses: true
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue