2021-01-30 16:42:46 -05:00
|
|
|
---
|
|
|
|
Language: Cpp
|
2021-04-24 05:00:45 -04:00
|
|
|
AccessModifierOffset: -2
|
2021-01-30 16:42:46 -05:00
|
|
|
AlignAfterOpenBracket: Align
|
|
|
|
AlignConsecutiveMacros: true
|
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlines: Right
|
|
|
|
AlignOperands: Align
|
|
|
|
AlignTrailingComments: true
|
2022-05-09 11:16:08 -04:00
|
|
|
AllowAllArgumentsOnNextLine: false
|
2021-01-30 16:42:46 -05:00
|
|
|
AllowAllConstructorInitializersOnNextLine: true
|
2022-05-09 11:16:08 -04:00
|
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
2021-01-30 16:42:46 -05:00
|
|
|
AllowShortBlocksOnASingleLine: Never
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
|
AllowShortLambdasOnASingleLine: None
|
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: MultiLine
|
2021-04-18 13:28:14 -04:00
|
|
|
BinPackArguments: false
|
|
|
|
BinPackParameters: false
|
2021-01-30 16:42:46 -05:00
|
|
|
BraceWrapping:
|
|
|
|
AfterCaseLabel: false
|
|
|
|
AfterClass: false
|
|
|
|
AfterControlStatement: false
|
|
|
|
AfterEnum: false
|
|
|
|
AfterFunction: false
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
|
|
|
AfterStruct: false
|
|
|
|
AfterUnion: false
|
|
|
|
AfterExternBlock: false
|
|
|
|
BeforeCatch: false
|
|
|
|
BeforeElse: false
|
|
|
|
IndentBraces: true
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Attach
|
|
|
|
BreakBeforeInheritanceComma: false
|
|
|
|
BreakInheritanceList: BeforeColon
|
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializersBeforeComma: false
|
|
|
|
BreakConstructorInitializers: BeforeColon
|
|
|
|
BreakAfterJavaFieldAnnotations: false
|
|
|
|
BreakStringLiterals: true
|
|
|
|
ColumnLimit: 140
|
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
|
|
CompactNamespaces: false
|
2021-04-18 13:28:14 -04:00
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
2021-01-30 16:42:46 -05:00
|
|
|
ConstructorInitializerIndentWidth: 2
|
|
|
|
ContinuationIndentWidth: 2
|
|
|
|
Cpp11BracedListStyle: true
|
|
|
|
DeriveLineEnding: false
|
|
|
|
DerivePointerAlignment: false
|
|
|
|
DisableFormat: false
|
2023-01-03 09:05:30 -05:00
|
|
|
EmptyLineAfterAccessModifier: Never
|
2023-01-03 11:20:46 -05:00
|
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
2021-04-18 13:28:14 -04:00
|
|
|
ExperimentalAutoDetectBinPacking: true
|
2021-01-30 16:42:46 -05:00
|
|
|
FixNamespaceComments: false
|
|
|
|
ForEachMacros:
|
|
|
|
- foreach
|
|
|
|
- Q_FOREACH
|
|
|
|
- BOOST_FOREACH
|
|
|
|
IncludeBlocks: Preserve
|
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
|
Priority: 2
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
|
Priority: 3
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 1
|
|
|
|
SortPriority: 0
|
|
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
|
|
IncludeIsMainSourceRegex: ''
|
2023-01-03 09:05:30 -05:00
|
|
|
IndentAccessModifiers: false
|
2021-01-30 16:42:46 -05:00
|
|
|
IndentCaseLabels: true
|
|
|
|
IndentGotoLabels: true
|
|
|
|
IndentPPDirectives: BeforeHash
|
|
|
|
IndentWidth: 2
|
|
|
|
IndentWrappedFunctionNames: false
|
2022-05-09 11:16:08 -04:00
|
|
|
# Requires Clang >= 15, could also cause incorrect code formatting:
|
|
|
|
# InsertBraces: true
|
2021-01-30 16:42:46 -05:00
|
|
|
JavaScriptQuotes: Leave
|
|
|
|
JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
|
NamespaceIndentation: All
|
2023-01-03 09:05:30 -05:00
|
|
|
PackConstructorInitializers: NextLine
|
2021-01-30 16:42:46 -05:00
|
|
|
PenaltyBreakAssignment: 2
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
|
PointerAlignment: Left
|
2023-01-03 09:05:30 -05:00
|
|
|
ReferenceAlignment: Pointer
|
2021-01-30 16:42:46 -05:00
|
|
|
ReflowComments: true
|
2023-01-03 09:05:30 -05:00
|
|
|
SeparateDefinitionBlocks: Always
|
2021-01-30 16:42:46 -05:00
|
|
|
SortIncludes: false
|
|
|
|
SortUsingDeclarations: true
|
|
|
|
SpaceAfterCStyleCast: true
|
|
|
|
SpaceAfterLogicalNot: false
|
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
2023-01-03 11:20:46 -05:00
|
|
|
SpaceBeforeCaseColon: false
|
2021-01-30 16:42:46 -05:00
|
|
|
SpaceBeforeCpp11BracedList: true
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
|
SpaceBeforeParens: ControlStatementsExceptForEachMacros
|
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
|
SpaceInEmptyBlock: false
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
|
SpacesInAngles: false
|
|
|
|
SpacesInConditionalStatement: false
|
|
|
|
SpacesInContainerLiterals: false
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
|
|
|
SpaceBeforeSquareBrackets: false
|
2023-01-03 09:05:30 -05:00
|
|
|
SpaceAroundPointerQualifiers: Default
|
2021-01-30 16:42:46 -05:00
|
|
|
Standard: Latest
|
|
|
|
StatementMacros:
|
|
|
|
- Q_UNUSED
|
|
|
|
- QT_REQUIRE_VERSION
|
|
|
|
TabWidth: 8
|
|
|
|
UseCRLF: false
|
|
|
|
UseTab: Never
|
|
|
|
...
|