-
Notifications
You must be signed in to change notification settings - Fork 23
/
.clang-format
62 lines (62 loc) · 1.74 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
BasedOnStyle: Mozilla
AccessModifierOffset: '-4'
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignOperands: false
AlignTrailingComments: false
PointerAlignment: Left
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: true
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: false
IndentCaseLabels: true
Language: Cpp
MaxEmptyLinesToKeep: '2'
NamespaceIndentation: None
FixNamespaceComments: true
ReflowComments: false
IncludeBlocks: Preserve
SortIncludes: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
Standard: Auto
TabWidth: 4
IndentWidth: 4
UseTab: Never
ColumnLimit: 140
BreakConstructorInitializers: AfterColon
BreakBeforeInheritanceComma : false
ConstructorInitializerIndentWidth: 4
SpacesInCStyleCastParentheses: false
SpacesBeforeTrailingComments: 1
ExperimentalAutoDetectBinPacking: true
AllowAllParametersOfDeclarationOnNextLine: false
ContinuationIndentWidth: 4
BraceWrapping:
SplitEmptyFunction: false
AfterEnum: true
AfterControlStatement: true
AfterStruct: true
AfterClass: true
AfterFunction: true
AfterNamespace: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
AlignAfterOpenBracket: Align
BreakBeforeBinaryOperators: NonAssignment
CommentPragmas: '^\\.+'