Commit f0af9e13 authored by PanZezhong's avatar PanZezhong
Browse files

fix: change clang format

parent 6aa6f092
--- # Generated from CLion C/C++ Code Style settings
Language: Cpp BasedOnStyle: LLVM
# BasedOnStyle: LLVM AccessModifierOffset: -4
AccessModifierOffset: -2
AlignAfterOpenBracket: Align AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false # AlignConsecutiveAssignments: None
AlignConsecutiveDeclarations: false AlignOperands: Align
AlignEscapedNewlinesLeft: false AllowAllArgumentsOnNextLine: false
AlignOperands: true AllowAllConstructorInitializersOnNextLine: false
AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: Always
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: false AllowShortIfStatementsOnASingleLine: Always
AllowShortLoopsOnASingleLine: false AllowShortLambdasOnASingleLine: All
AlwaysBreakAfterDefinitionReturnType: None AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: No
AlwaysBreakTemplateDeclarations: false BreakBeforeBraces: Custom
BinPackArguments: true BraceWrapping:
BinPackParameters: true AfterCaseLabel: false
BraceWrapping: AfterClass: false
AfterClass: false AfterControlStatement: Never
AfterControlStatement: false AfterEnum: false
AfterEnum: false AfterFunction: false
AfterFunction: false AfterNamespace: false
AfterNamespace: false AfterUnion: false
AfterObjCDeclaration: false BeforeCatch: false
AfterStruct: false BeforeElse: false
AfterUnion: false IndentBraces: false
BeforeCatch: false SplitEmptyFunction: false
BeforeElse: false SplitEmptyRecord: true
IndentBraces: false
BreakBeforeBinaryOperators: None BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false BreakConstructorInitializers: BeforeColon
ColumnLimit: 80 BreakInheritanceList: BeforeColon
CommentPragmas: '^ IWYU pragma:' ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: false CompactNamespaces: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4 ContinuationIndentWidth: 4
Cpp11BracedListStyle: true IndentCaseLabels: true
DerivePointerAlignment: false IndentPPDirectives: None
DisableFormat: false IndentWidth: 4
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1
IndentCaseLabels: false
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: true KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: '' MaxEmptyLinesToKeep: 2
MacroBlockEnd: '' NamespaceIndentation: All
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right PointerAlignment: Right
ReflowComments: true ReflowComments: false
SortIncludes: true SpaceAfterCStyleCast: true
SpaceAfterCStyleCast: false SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1 SpacesBeforeTrailingComments: 0
SpacesInAngles: false SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false SpacesInParentheses: false
SpacesInSquareBrackets: false SpacesInSquareBrackets: false
Standard: Cpp11 TabWidth: 4
TabWidth: 8 UseTab: Never
UseTab: Never
...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment