Build/Config/.clang-format
2022-12-11 00:28:04 +01:00

39 lines
1.1 KiB
YAML
Executable File

# Common settings
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments:
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