Update .clang-format
parent
2cb9da1085
commit
29a2e1ec1c
100
.clang-format
100
.clang-format
|
@ -1,47 +1,63 @@
|
||||||
AccessModifierOffset: -3
|
---
|
||||||
AlignEscapedNewlinesLeft: true
|
AccessModifierOffset: '-4'
|
||||||
AlignTrailingComments: true
|
AlignAfterOpenBracket: AlwaysBreak
|
||||||
AllowAllParametersOfDeclarationOnNextLine: false
|
AlignConsecutiveMacros: 'true'
|
||||||
AllowShortFunctionsOnASingleLine: true
|
AlignConsecutiveAssignments: 'true'
|
||||||
AllowShortIfStatementsOnASingleLine: false
|
AlignConsecutiveDeclarations: 'true'
|
||||||
AllowShortLoopsOnASingleLine: false
|
AlignEscapedNewlines: Left
|
||||||
AlwaysBreakBeforeMultilineStrings: false
|
AlignOperands: 'true'
|
||||||
AlwaysBreakTemplateDeclarations: true
|
AlignTrailingComments: 'true'
|
||||||
BinPackParameters: false
|
AllowAllArgumentsOnNextLine: 'false'
|
||||||
BreakBeforeBinaryOperators: false
|
AllowAllConstructorInitializersOnNextLine: 'false'
|
||||||
|
AllowAllParametersOfDeclarationOnNextLine: 'false'
|
||||||
|
AllowShortBlocksOnASingleLine: 'false'
|
||||||
|
AllowShortCaseLabelsOnASingleLine: 'false'
|
||||||
|
AllowShortFunctionsOnASingleLine: None
|
||||||
|
AllowShortIfStatementsOnASingleLine: 'false'
|
||||||
|
AllowShortLambdasOnASingleLine: All
|
||||||
|
AllowShortLoopsOnASingleLine: 'true'
|
||||||
|
AlwaysBreakAfterReturnType: TopLevelDefinitions
|
||||||
|
AlwaysBreakBeforeMultilineStrings: 'false'
|
||||||
|
AlwaysBreakTemplateDeclarations: 'Yes'
|
||||||
|
BinPackArguments: 'false'
|
||||||
|
BinPackParameters: 'false'
|
||||||
|
BreakBeforeBinaryOperators: All
|
||||||
BreakBeforeBraces: Allman
|
BreakBeforeBraces: Allman
|
||||||
BreakBeforeTernaryOperators: false
|
BreakBeforeTernaryOperators: 'false'
|
||||||
BreakConstructorInitializersBeforeComma: false
|
BreakConstructorInitializers: AfterColon
|
||||||
ColumnLimit: 80
|
BreakInheritanceList: AfterColon
|
||||||
CommentPragmas: ''
|
BreakStringLiterals: 'true'
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
ColumnLimit: '100'
|
||||||
ConstructorInitializerIndentWidth: 0
|
CompactNamespaces: 'false'
|
||||||
ContinuationIndentWidth: 0
|
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
|
||||||
Cpp11BracedListStyle: false
|
Cpp11BracedListStyle: 'false'
|
||||||
DerivePointerBinding: false
|
FixNamespaceComments: 'true'
|
||||||
IndentCaseLabels: false
|
IncludeBlocks: Regroup
|
||||||
IndentFunctionDeclarationAfterType: false
|
IndentCaseLabels: 'false'
|
||||||
IndentWidth: 4
|
IndentPPDirectives: None
|
||||||
|
IndentWidth: '4'
|
||||||
|
IndentWrappedFunctionNames: 'false'
|
||||||
|
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
MaxEmptyLinesToKeep: 2
|
MaxEmptyLinesToKeep: '1'
|
||||||
NamespaceIndentation: None
|
NamespaceIndentation: None
|
||||||
ObjCSpaceAfterProperty: true
|
PointerAlignment: Right
|
||||||
ObjCSpaceBeforeProtocolList: true
|
ReflowComments: 'true'
|
||||||
PenaltyBreakBeforeFirstCallParameter: 100
|
SortIncludes: 'true'
|
||||||
PenaltyBreakComment: 100
|
SortUsingDeclarations: 'true'
|
||||||
PenaltyBreakFirstLessLess: 0
|
SpaceAfterLogicalNot: 'false'
|
||||||
PenaltyBreakString: 100
|
SpaceAfterTemplateKeyword: 'false'
|
||||||
PenaltyExcessCharacter: 1
|
SpaceBeforeAssignmentOperators: 'true'
|
||||||
PenaltyReturnTypeOnItsOwnLine: 20
|
SpaceBeforeCtorInitializerColon: 'true'
|
||||||
PointerBindsToType: true
|
SpaceBeforeInheritanceColon: 'true'
|
||||||
SpaceBeforeAssignmentOperators: true
|
|
||||||
SpaceBeforeParens: ControlStatements
|
SpaceBeforeParens: ControlStatements
|
||||||
SpaceInEmptyParentheses: false
|
SpaceBeforeRangeBasedForLoopColon: 'true'
|
||||||
SpacesBeforeTrailingComments: 1
|
SpaceInEmptyParentheses: 'false'
|
||||||
SpacesInAngles: false
|
SpacesBeforeTrailingComments: '1'
|
||||||
SpacesInCStyleCastParentheses: false
|
SpacesInAngles: 'false'
|
||||||
SpacesInContainerLiterals: false
|
SpacesInParentheses: 'false'
|
||||||
SpacesInParentheses: false
|
SpacesInSquareBrackets: 'false'
|
||||||
Standard: Cpp11
|
Standard: c++17
|
||||||
TabWidth: 4
|
TabWidth: '4'
|
||||||
UseTab: Never
|
UseTab: Never
|
||||||
|
UseCRLF: 'false'
|
||||||
|
|
Loading…
Reference in New Issue