2021-12-19 04:37:23 +00:00
|
|
|
---
|
|
|
|
Language: Cpp
|
|
|
|
# BasedOnStyle: LLVM
|
|
|
|
AccessModifierOffset: -4
|
|
|
|
AlignAfterOpenBracket: Align
|
|
|
|
AlignConsecutiveMacros: true
|
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlines: Right
|
|
|
|
AlignOperands: true
|
|
|
|
AlignTrailingComments: true
|
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
|
AllowAllConstructorInitializersOnNextLine: true
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
2021-12-19 20:52:21 +00:00
|
|
|
AllowShortBlocksOnASingleLine: Always
|
2021-12-19 04:37:23 +00:00
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: All
|
|
|
|
AllowShortLambdasOnASingleLine: All
|
|
|
|
AllowShortIfStatementsOnASingleLine: WithoutElse
|
2021-12-19 21:11:44 +00:00
|
|
|
AllowShortLoopsOnASingleLine: true
|
2021-12-19 04:37:23 +00:00
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: MultiLine
|
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
|
|
|
BraceWrapping:
|
|
|
|
AfterCaseLabel: false
|
|
|
|
AfterClass: false
|
|
|
|
AfterControlStatement: false
|
|
|
|
AfterEnum: false
|
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
AfterExternBlock: false
|
2021-12-19 20:52:21 +00:00
|
|
|
BeforeCatch: true
|
2021-12-19 04:37:23 +00:00
|
|
|
BeforeElse: true
|
|
|
|
IndentBraces: false
|
2021-12-19 20:52:21 +00:00
|
|
|
SplitEmptyFunction: false
|
2021-12-19 04:37:23 +00:00
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BreakBeforeInheritanceComma: false
|
|
|
|
BreakInheritanceList: BeforeColon
|
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializersBeforeComma: false
|
|
|
|
BreakConstructorInitializers: BeforeColon
|
|
|
|
BreakAfterJavaFieldAnnotations: false
|
|
|
|
BreakStringLiterals: true
|
2021-12-19 20:52:21 +00:00
|
|
|
ColumnLimit: 0
|
2021-12-19 04:37:23 +00:00
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
2021-12-19 20:52:21 +00:00
|
|
|
Cpp11BracedListStyle: false
|
2021-12-19 04:37:23 +00:00
|
|
|
DeriveLineEnding: true
|
|
|
|
DerivePointerAlignment: false
|
|
|
|
DisableFormat: false
|
|
|
|
ExperimentalAutoDetectBinPacking: false
|
2021-12-19 20:52:21 +00:00
|
|
|
FixNamespaceComments: false
|
2021-12-19 04:37:23 +00:00
|
|
|
ForEachMacros:
|
|
|
|
- foreach
|
|
|
|
- Q_FOREACH
|
|
|
|
- BOOST_FOREACH
|
|
|
|
IncludeBlocks: Preserve
|
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '.'
|
|
|
|
Priority: 2
|
|
|
|
SortPriority: 2
|
|
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
|
|
IncludeIsMainSourceRegex: ''
|
|
|
|
IndentCaseLabels: false
|
|
|
|
IndentGotoLabels: true
|
|
|
|
IndentPPDirectives: None
|
|
|
|
IndentWidth: 4
|
|
|
|
IndentWrappedFunctionNames: false
|
|
|
|
JavaScriptQuotes: Leave
|
|
|
|
JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 2
|
2021-12-19 20:52:21 +00:00
|
|
|
NamespaceIndentation: All
|
2021-12-19 04:37:23 +00:00
|
|
|
ObjCBinPackProtocolList: Auto
|
|
|
|
ObjCBlockIndentWidth: 4
|
|
|
|
ObjCSpaceAfterProperty: false
|
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
|
PenaltyBreakAssignment: 2
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
2021-12-19 20:52:21 +00:00
|
|
|
PointerAlignment: Left
|
2021-12-19 04:37:23 +00:00
|
|
|
ReflowComments: true
|
|
|
|
SortIncludes: false
|
|
|
|
SortUsingDeclarations: true
|
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceAfterLogicalNot: false
|
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeCpp11BracedList: false
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
|
SpaceInEmptyBlock: false
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
SpacesInAngles: false
|
|
|
|
SpacesInConditionalStatement: false
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
|
Standard: Latest
|
|
|
|
StatementMacros:
|
|
|
|
- Q_UNUSED
|
|
|
|
- QT_REQUIRE_VERSION
|
|
|
|
TabWidth: 4
|
|
|
|
UseCRLF: false
|
|
|
|
UseTab: Never
|
|
|
|
...
|
|
|
|
|