2019-01-23 16:26:28 +01:00
|
|
|
Language: Cpp
|
|
|
|
|
AccessModifierOffset: -4
|
|
|
|
|
AlignEscapedNewlines: DontAlign
|
|
|
|
|
AllowShortFunctionsOnASingleLine: Inline
|
2024-03-14 10:02:37 +01:00
|
|
|
AlwaysBreakTemplateDeclarations: true # use with clang 19
|
2019-01-23 16:26:28 +01:00
|
|
|
BinPackArguments: false
|
|
|
|
|
BinPackParameters: false
|
|
|
|
|
BraceWrapping:
|
|
|
|
|
AfterClass: true
|
|
|
|
|
AfterFunction: true
|
|
|
|
|
AfterStruct: true
|
|
|
|
|
SplitEmptyFunction: false
|
|
|
|
|
SplitEmptyRecord: false
|
|
|
|
|
SplitEmptyNamespace: false
|
|
|
|
|
BreakBeforeBinaryOperators: All
|
|
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
|
BreakConstructorInitializers: BeforeComma
|
2023-06-01 02:06:31 +02:00
|
|
|
BreakInheritanceList: AfterComma
|
2024-03-14 10:02:37 +01:00
|
|
|
# BreakTemplateDeclarations: Yes # use with clang 19
|
2019-01-23 16:26:28 +01:00
|
|
|
ColumnLimit: 100
|
|
|
|
|
IncludeCategories:
|
2024-02-20 13:24:46 +01:00
|
|
|
- Regex: 'Q.*'
|
|
|
|
|
Priority: 8
|
|
|
|
|
CaseSensitive: true
|
2023-06-01 02:06:31 +02:00
|
|
|
IndentPPDirectives: AfterHash
|
2019-01-23 16:26:28 +01:00
|
|
|
IndentWidth: 4
|
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
|
# Do not add QT_BEGIN_NAMESPACE/QT_END_NAMESPACE as this will indent lines in between.
|
|
|
|
|
ObjCBlockIndentWidth: 4
|
2023-06-01 02:06:31 +02:00
|
|
|
PPIndentWidth: 2
|
|
|
|
|
PackConstructorInitializers: Never
|
2019-01-23 16:26:28 +01:00
|
|
|
PenaltyBreakAssignment: 500
|
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 150
|
|
|
|
|
PenaltyBreakComment: 500
|
|
|
|
|
PenaltyBreakFirstLessLess: 400
|
|
|
|
|
PenaltyBreakString: 600
|
|
|
|
|
PenaltyExcessCharacter: 7
|
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 300
|
2023-06-01 02:06:31 +02:00
|
|
|
QualifierAlignment: Custom
|
|
|
|
|
QualifierOrder: ['friend', 'inline', 'static', 'constexpr', 'const', 'type']
|
|
|
|
|
ReferenceAlignment: Right
|
2024-02-13 16:37:22 +01:00
|
|
|
ReflowComments: false
|
2023-06-01 02:06:31 +02:00
|
|
|
SeparateDefinitionBlocks: Always
|
|
|
|
|
SortUsingDeclarations: Lexicographic
|
2019-01-23 16:26:28 +01:00
|
|
|
SpaceAfterCStyleCast: true
|
|
|
|
|
SpaceAfterTemplateKeyword: false
|
2023-06-01 02:06:31 +02:00
|
|
|
SpaceBeforeParens: ControlStatementsExceptControlMacros
|
2019-01-23 16:26:28 +01:00
|
|
|
SpacesInContainerLiterals: false
|
2023-06-01 02:06:31 +02:00
|
|
|
StatementAttributeLikeMacros: [emit]
|
2019-01-23 16:26:28 +01:00
|
|
|
TabWidth: 4
|