2025-02-14 21:38:56 +01:00
|
|
|
---
|
|
|
|
Language: Cpp
|
2024-11-29 15:44:30 +01:00
|
|
|
AccessModifierOffset: -2
|
|
|
|
AlignAfterOpenBracket: BlockIndent
|
2025-02-14 21:38:56 +01:00
|
|
|
AlignArrayOfStructures: None
|
|
|
|
AlignConsecutiveAssignments:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: false
|
|
|
|
AlignConsecutiveBitFields:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: false
|
|
|
|
AlignConsecutiveDeclarations:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: false
|
|
|
|
AlignConsecutiveMacros:
|
|
|
|
Enabled: false
|
|
|
|
AcrossEmptyLines: false
|
|
|
|
AcrossComments: false
|
|
|
|
AlignCompound: false
|
|
|
|
PadOperators: false
|
2024-11-29 15:44:30 +01:00
|
|
|
AlignEscapedNewlines: Left
|
2025-02-14 21:38:56 +01:00
|
|
|
AlignOperands: Align
|
|
|
|
AlignTrailingComments:
|
|
|
|
Kind: Always
|
|
|
|
OverEmptyLines: 0
|
2024-11-29 15:44:30 +01:00
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
2025-02-14 21:38:56 +01:00
|
|
|
AllowShortBlocksOnASingleLine: Never
|
2024-11-29 15:44:30 +01:00
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
2025-02-14 21:38:56 +01:00
|
|
|
AllowShortEnumsOnASingleLine: true
|
2024-11-29 15:44:30 +01:00
|
|
|
AllowShortFunctionsOnASingleLine: All
|
2025-02-14 21:38:56 +01:00
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
2024-11-29 15:44:30 +01:00
|
|
|
AllowShortLambdasOnASingleLine: All
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
2025-02-14 21:38:56 +01:00
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
2024-11-29 15:44:30 +01:00
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: No
|
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
2025-02-14 21:38:56 +01:00
|
|
|
BitFieldColonSpacing: Both
|
2024-11-29 15:44:30 +01:00
|
|
|
BraceWrapping:
|
2025-02-14 21:38:56 +01:00
|
|
|
AfterCaseLabel: true
|
|
|
|
AfterClass: true
|
2024-11-29 15:44:30 +01:00
|
|
|
AfterControlStatement: true
|
2025-02-14 21:38:56 +01:00
|
|
|
AfterEnum: true
|
2024-11-29 15:44:30 +01:00
|
|
|
AfterExternBlock: true
|
2025-02-14 21:38:56 +01:00
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
2024-11-29 15:44:30 +01:00
|
|
|
AfterObjCDeclaration: false
|
2025-02-14 21:38:56 +01:00
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
|
|
|
BeforeLambdaBody: false
|
|
|
|
BeforeWhile: false
|
|
|
|
IndentBraces: false
|
2024-11-29 15:44:30 +01:00
|
|
|
SplitEmptyFunction: false
|
|
|
|
SplitEmptyRecord: false
|
|
|
|
SplitEmptyNamespace: false
|
2025-02-14 21:38:56 +01:00
|
|
|
BreakAfterAttributes: Never
|
|
|
|
BreakAfterJavaFieldAnnotations: false
|
|
|
|
BreakArrays: true
|
2024-11-29 15:44:30 +01:00
|
|
|
BreakBeforeBinaryOperators: All
|
2025-02-14 21:38:56 +01:00
|
|
|
BreakBeforeConceptDeclarations: Always
|
2024-11-29 15:44:30 +01:00
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BreakBeforeInheritanceComma: false
|
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
|
BreakConstructorInitializers: BeforeComma
|
|
|
|
BreakStringLiterals: true
|
|
|
|
ColumnLimit: 0
|
2025-02-14 21:38:56 +01:00
|
|
|
CommentPragmas: "^ IWYU pragma:"
|
2024-11-29 15:44:30 +01:00
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
|
|
ConstructorInitializerIndentWidth: 2
|
|
|
|
ContinuationIndentWidth: 2
|
|
|
|
Cpp11BracedListStyle: true
|
|
|
|
DerivePointerAlignment: false
|
2025-02-14 21:38:56 +01:00
|
|
|
DisableFormat: false
|
|
|
|
EmptyLineAfterAccessModifier: Never
|
|
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
2024-11-29 15:44:30 +01:00
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
FixNamespaceComments: true
|
|
|
|
IncludeCategories:
|
2025-02-14 21:38:56 +01:00
|
|
|
- Regex: "^<Q.*"
|
|
|
|
Priority: 300
|
|
|
|
- Regex: "^<qgs.*"
|
|
|
|
Priority: 200
|
|
|
|
- Regex: "<.*"
|
|
|
|
Priority: 400
|
|
|
|
- Regex: '^".*'
|
|
|
|
Priority: 100
|
|
|
|
- Regex: ".*"
|
|
|
|
Priority: 1
|
|
|
|
|
2024-11-29 15:44:30 +01:00
|
|
|
IncludeIsMainRegex: false
|
2025-02-14 21:38:56 +01:00
|
|
|
#IncludeBlocks: Regroup
|
|
|
|
IncludeIsMainSourceRegex: ""
|
2024-11-29 15:44:30 +01:00
|
|
|
IndentAccessModifiers: true
|
2025-02-14 21:38:56 +01:00
|
|
|
IndentCaseBlocks: false
|
2024-11-29 15:44:30 +01:00
|
|
|
IndentCaseLabels: true
|
2025-02-14 21:38:56 +01:00
|
|
|
IndentExternBlock: AfterExternBlock
|
|
|
|
IndentGotoLabels: true
|
|
|
|
IndentPPDirectives: None
|
|
|
|
IndentRequiresClause: true
|
2024-11-29 15:44:30 +01:00
|
|
|
IndentWidth: 2
|
|
|
|
IndentWrappedFunctionNames: true
|
2025-02-14 21:38:56 +01:00
|
|
|
# should be:
|
|
|
|
# InsertBraces: true
|
|
|
|
# InsertNewlineAtEOF: true
|
|
|
|
InsertBraces: false
|
|
|
|
InsertNewlineAtEOF: false
|
|
|
|
InsertTrailingCommas: None
|
|
|
|
IntegerLiteralSeparator:
|
|
|
|
Binary: 0
|
|
|
|
BinaryMinDigits: 0
|
|
|
|
Decimal: 0
|
|
|
|
DecimalMinDigits: 0
|
|
|
|
Hex: 0
|
|
|
|
HexMinDigits: 0
|
2024-11-29 15:44:30 +01:00
|
|
|
JavaScriptQuotes: Leave
|
|
|
|
JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
# Do not add QT_BEGIN_NAMESPACE/QT_END_NAMESPACE as this will indent lines in between.
|
|
|
|
MacroBlockBegin: ""
|
2025-02-14 21:38:56 +01:00
|
|
|
MacroBlockEnd: ""
|
2024-11-29 15:44:30 +01:00
|
|
|
MaxEmptyLinesToKeep: 2
|
|
|
|
NamespaceIndentation: All
|
2025-02-14 21:38:56 +01:00
|
|
|
ObjCBinPackProtocolList: Auto
|
2024-11-29 15:44:30 +01:00
|
|
|
ObjCBlockIndentWidth: 4
|
2025-02-14 21:38:56 +01:00
|
|
|
ObjCBreakBeforeNestedBlockParam: true
|
2024-11-29 15:44:30 +01:00
|
|
|
ObjCSpaceAfterProperty: false
|
|
|
|
ObjCSpaceBeforeProtocolList: true
|
2025-02-14 21:38:56 +01:00
|
|
|
PackConstructorInitializers: BinPack
|
2024-11-29 15:44:30 +01:00
|
|
|
PenaltyBreakAssignment: 150
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 5000
|
|
|
|
PenaltyBreakComment: 500
|
|
|
|
PenaltyBreakFirstLessLess: 400
|
2025-02-14 21:38:56 +01:00
|
|
|
PenaltyBreakOpenParenthesis: 0
|
2024-11-29 15:44:30 +01:00
|
|
|
PenaltyBreakString: 600
|
2025-02-14 21:38:56 +01:00
|
|
|
PenaltyBreakTemplateDeclaration: 10
|
2024-11-29 15:44:30 +01:00
|
|
|
PenaltyExcessCharacter: 10
|
2025-02-14 21:38:56 +01:00
|
|
|
PenaltyIndentedWhitespace: 0
|
2024-11-29 15:44:30 +01:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 5000
|
|
|
|
PointerAlignment: Right
|
2025-02-14 21:38:56 +01:00
|
|
|
PPIndentWidth: -1
|
|
|
|
QualifierAlignment: Leave
|
|
|
|
ReferenceAlignment: Pointer
|
|
|
|
# should be:
|
|
|
|
# ReflowComments: true
|
|
|
|
ReflowComments: false
|
|
|
|
RemoveBracesLLVM: false
|
|
|
|
RemoveSemicolon: false
|
|
|
|
RequiresClausePosition: OwnLine
|
|
|
|
RequiresExpressionIndentation: OuterScope
|
|
|
|
SeparateDefinitionBlocks: Leave
|
|
|
|
ShortNamespaceLines: 1
|
|
|
|
SortIncludes: false
|
|
|
|
SortJavaStaticImport: Before
|
2024-11-29 15:44:30 +01:00
|
|
|
SortUsingDeclarations: true
|
|
|
|
SpaceAfterCStyleCast: true
|
2025-02-14 21:38:56 +01:00
|
|
|
SpaceAfterLogicalNot: false
|
2024-11-29 15:44:30 +01:00
|
|
|
SpaceAfterTemplateKeyword: false
|
2025-02-14 21:38:56 +01:00
|
|
|
SpaceAroundPointerQualifiers: Default
|
2024-11-29 15:44:30 +01:00
|
|
|
SpaceBeforeAssignmentOperators: true
|
2025-02-14 21:38:56 +01:00
|
|
|
SpaceBeforeCaseColon: false
|
2024-11-29 15:44:30 +01:00
|
|
|
SpaceBeforeCpp11BracedList: true
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
2025-02-14 21:38:56 +01:00
|
|
|
SpaceBeforeParensOptions:
|
|
|
|
AfterControlStatements: true
|
|
|
|
AfterForeachMacros: true
|
|
|
|
AfterFunctionDefinitionName: false
|
|
|
|
AfterFunctionDeclarationName: false
|
|
|
|
AfterIfMacros: true
|
|
|
|
AfterOverloadedOperator: false
|
|
|
|
AfterRequiresInClause: false
|
|
|
|
AfterRequiresInExpression: false
|
|
|
|
BeforeNonEmptyParentheses: false
|
2024-11-29 15:44:30 +01:00
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
2025-02-14 21:38:56 +01:00
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
|
SpaceInEmptyBlock: false
|
2024-11-29 15:44:30 +01:00
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
2025-02-14 21:38:56 +01:00
|
|
|
SpacesInAngles: Leave
|
|
|
|
SpacesInConditionalStatement: false
|
2024-11-29 15:44:30 +01:00
|
|
|
SpacesInContainerLiterals: false
|
|
|
|
SpacesInCStyleCastParentheses: true
|
2025-02-14 21:38:56 +01:00
|
|
|
SpacesInLineCommentPrefix:
|
|
|
|
# should be:
|
|
|
|
# Minimum: 1
|
|
|
|
Minimum: 0
|
|
|
|
Maximum: -1
|
2024-11-29 15:44:30 +01:00
|
|
|
SpacesInParentheses: true
|
|
|
|
SpacesInSquareBrackets: false
|
2025-02-14 21:38:56 +01:00
|
|
|
Standard: Cpp11
|
|
|
|
TabWidth: 2
|
|
|
|
UseTab: Never
|
2024-12-02 10:03:31 +01:00
|
|
|
Macros:
|
|
|
|
- SIP_ENUM_BASETYPE(x)=x
|
|
|
|
- SIP_MONKEYPATCH_SCOPEENUM_UNNEST(x,y)=x
|
2024-12-06 09:25:53 +01:00
|
|
|
AttributeMacros:
|
|
|
|
- SIP_SKIP
|
2025-02-14 21:38:56 +01:00
|
|
|
|
2024-11-29 15:44:30 +01:00
|
|
|
---
|
|
|
|
|
2025-02-14 21:38:56 +01:00
|
|
|
Language: ObjC
|
2024-11-29 15:44:30 +01:00
|
|
|
|
|
|
|
ObjCBlockIndentWidth: 4
|