Build/Config/.clang-format
2022-12-16 19:11:29 +01:00

40 lines
1.1 KiB
YAML
Executable File

# Common settings
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments:
Enabled: true
AlignCompound: true
PadOperators: true
AcrossEmptyLines: false
AcrossComments: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignConsecutiveDeclarations: false
BreakBeforeBraces: Linux
ColumnLimit: '120'
IndentWidth: '4'
KeepEmptyLinesAtTheStartOfBlocks: false
NamespaceIndentation: All
PointerAlignment: Right
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 4
UseTab: Never
IndentPPDirectives: BeforeHash
IndentCaseLabels: true
BraceWrappingAfterControlStatementStyle: BWACS_MultiLine
BreakBeforeBinaryOperators: BOS_All
AllowShortBlocksOnASingleLine: SBS_Empty
AllowShortIfStatementsOnASingleLine: Never