clang-format: enable v20-only options
This commit is contained in:
parent
0ea854cda2
commit
84e6509e99
1 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,8 @@ BasedOnStyle: Google
|
||||||
|
|
||||||
AccessModifierOffset: -4
|
AccessModifierOffset: -4
|
||||||
AlignAfterOpenBracket: BlockIndent
|
AlignAfterOpenBracket: BlockIndent
|
||||||
|
# AlignArrayOfStructures: Right
|
||||||
|
AlignConsecutiveAssignments: true
|
||||||
AlignConsecutiveBitFields: true
|
AlignConsecutiveBitFields: true
|
||||||
AlignConsecutiveMacros: true
|
AlignConsecutiveMacros: true
|
||||||
AllowShortBlocksOnASingleLine: Empty
|
AllowShortBlocksOnASingleLine: Empty
|
||||||
|
@ -10,9 +12,9 @@ AllowShortEnumsOnASingleLine: false
|
||||||
AllowShortFunctionsOnASingleLine: Inline
|
AllowShortFunctionsOnASingleLine: Inline
|
||||||
BinPackArguments: false
|
BinPackArguments: false
|
||||||
BinPackParameters: false
|
BinPackParameters: false
|
||||||
# BreakBeforeBinaryOperators: NonAssignment # TODO: enable on clang-format v20
|
BreakBeforeBinaryOperators: NonAssignment
|
||||||
BreakBeforeBraces: WebKit
|
BreakBeforeBraces: WebKit
|
||||||
# BreakBinaryOperations: OnePerLine # TODO: enable on clang-format v20
|
BreakBinaryOperations: OnePerLine
|
||||||
BreakConstructorInitializers: BeforeComma
|
BreakConstructorInitializers: BeforeComma
|
||||||
BreakInheritanceList: BeforeComma
|
BreakInheritanceList: BeforeComma
|
||||||
ContinuationIndentWidth: 8
|
ContinuationIndentWidth: 8
|
||||||
|
|
Loading…
Add table
Reference in a new issue