Files
qt5-legatus-legacy/.clang-format
2026-08-13 18:33:10 +02:00

35 lines
954 B
YAML
Executable File

AccessModifierOffset: -4
AlignTrailingComments: true
AlignAfterOpenBracket: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
InsertNewlineAtEOF: true
BreakBeforeBinaryOperators: true
BreakBeforeBraces: Allman
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: 170
ConstructorInitializerAllOnOneLineOrOnePerLine: false
IncludeCategories:
- Regex: '^\"((?!\/).)*\"$'
Priority: 1
- Regex: '^(\<.*\/.*\>)$'
Priority: 2
IndentCaseLabels: true
IndentWidth: 2
Language: Cpp
MaxEmptyLinesToKeep: 1
PenaltyBreakBeforeFirstCallParameter: 1000
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Right
PointerBindsToType: false
SortIncludes: true
SpaceBeforeParens: ControlStatements
SpacesInAngles: false
SpacesInParentheses: false
Standard: Cpp11