modify clang format

This commit is contained in:
Xiao YiFang 2022-06-03 20:47:42 +08:00
parent e26db104f7
commit 5fc3bd8d83

View file

@ -1,28 +1,30 @@
# Format Style Options - Created with Clang Power Tools
--- ---
BasedOnStyle: LLVM
AlignAfterOpenBracket: Align AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: AcrossComments
AlignEscapedNewlines: Left AlignEscapedNewlines: Left
AllowAllArgumentsOnNextLine: 'false' AlignOperands: Align
AllowShortBlocksOnASingleLine: 'false' AllowAllArgumentsOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: None AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never AllowShortIfStatementsOnASingleLine: Never
BinPackArguments: 'false' BasedOnStyle: LLVM
BinPackParameters: 'false' BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman BreakBeforeBraces: Allman
BreakConstructorInitializers: AfterColon BreakConstructorInitializers: AfterColon
ColumnLimit: '120' ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: '2' ConstructorInitializerIndentWidth : 2
ContinuationIndentWidth: '2' ContinuationIndentWidth: 2
MaxEmptyLinesToKeep: '1' MaxEmptyLinesToKeep: 1
PointerAlignment: Middle PointerAlignment: Middle
SortIncludes: 'false' SortIncludes: false
SortUsingDeclarations: 'false' SortUsingDeclarations: false
SpaceBeforeParens: Never SpaceBeforeParens: Never
SpacesInAngles: 'true' SpacesInAngles: true
SpacesInParentheses: 'true' SpacesInParentheses: true
SpacesInSquareBrackets: 'true' SpacesInSquareBrackets: true
UseTab: Never UseTab: Never
AlignConsecutiveAssignments: AcrossComments
... ...