38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
---
|
|
# This configuration requires clang-format 3.8 or higher.
|
|
Language: Cpp
|
|
BasedOnStyle: Mozilla
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
BreakConstructorInitializersBeforeComma: false
|
|
AccessModifierOffset: '0'
|
|
AlignAfterOpenBracket: Align
|
|
AlignConsecutiveAssignments: 'true'
|
|
AlignConsecutiveDeclarations: 'true'
|
|
AlignEscapedNewlines: Left
|
|
AlignOperands: 'true'
|
|
AlignTrailingComments: 'true'
|
|
AllowAllParametersOfDeclarationOnNextLine: 'false'
|
|
AllowShortCaseLabelsOnASingleLine: 'false'
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AllowShortLoopsOnASingleLine: 'false'
|
|
AlwaysBreakBeforeMultilineStrings: 'false'
|
|
BreakBeforeBraces: Allman
|
|
BreakBeforeTernaryOperators: 'true'
|
|
ColumnLimit: '0'
|
|
FixNamespaceComments: 'true'
|
|
IncludeBlocks: Regroup
|
|
IndentCaseLabels: 'true'
|
|
IndentPPDirectives: AfterHash
|
|
IndentWidth: '2'
|
|
NamespaceIndentation: None
|
|
PointerAlignment: Right
|
|
ReflowComments: 'true'
|
|
SortIncludes: 'true'
|
|
SortUsingDeclarations: 'true'
|
|
SpacesBeforeTrailingComments: 5
|
|
TabWidth: '2'
|
|
UseTab: Never
|
|
|
|
...
|