Carp/.clang-format
2016-07-06 12:05:20 +10:00

28 lines
630 B
YAML

Language: Cpp
AllowShortIfStatementsOnASingleLine: true
AlignOperands: true
AlignTrailingComments: false
ColumnLimit: 0
IndentCaseLabels: false
IndentWidth: 2
SpaceBeforeParens: false
UseTab: Never
SortIncludes: false
# Configure each individual brace in BraceWrapping
BreakBeforeBraces: 'Custom'
# Control of individual brace wrapping cases
BraceWrapping: {
AfterControlStatement: 'false'
AfterEnum : 'false'
AfterFunction : 'false'
AfterNamespace : 'false'
AfterStruct : 'false'
AfterUnion : 'false'
BeforeCatch : 'false'
BeforeElse : 'true'
IndentBraces : 'false'
}