-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-format
96 lines (96 loc) · 2.73 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
IndentPPDirectives: BeforeHash
SortIncludes: CaseInsensitive
AllowShortEnumsOnASingleLine: false
SpaceBeforeInheritanceColon: true
SpaceBeforeAssignmentOperators: true
SpaceAfterTemplateKeyword: true
SpaceAfterLogicalNot: false
PointerAlignment: Left
ReferenceAlignment: Pointer
QualifierAlignment: Right
SpaceBeforeCaseColon: false
ColumnLimit: 100
BreakBeforeBraces: Custom
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: None
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: Yes
BitFieldColonSpacing: Both
BreakConstructorInitializers: BeforeColon
AlignArrayOfStructures: None
SpaceBeforeParens: ControlStatementsExceptControlMacros
IndentCaseLabels: true
IndentCaseBlocks: false
NamespaceIndentation: All
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
BeforeWhile: true
AfterFunction: true
AfterStruct: true
AfterEnum: true
AfterNamespace: true
AfterUnion: true
BeforeLambdaBody: true
BeforeElse: true
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
IndentAccessModifiers: false
IndentWidth: 3
PackConstructorInitializers: Never
AlignAfterOpenBracket: Align
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: false
BreakStringLiterals: true
CompactNamespaces: false
ConstructorInitializerIndentWidth: 3
ContinuationIndentWidth: 3
Cpp11BracedListStyle: false
IncludeBlocks: Preserve
IndentExternBlock: AfterExternBlock
KeepEmptyLinesAtTheStartOfBlocks: true
LambdaBodyIndentation: Signature
Language: Cpp
PPIndentWidth: -1
RemoveBracesLLVM: false
SeparateDefinitionBlocks: Always
SpaceAfterCStyleCast: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyParentheses: false
SpaceInEmptyBlock: false
SpacesInAngles: Never
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 3
UseTab: Always
AccessModifierOffset: -3
AlignConsecutiveAssignments: None
AllowShortBlocksOnASingleLine: Never
AlignOperands: DontAlign
BinPackParameters: true
BinPackArguments: true
EmptyLineBeforeAccessModifier: Always
IndentWrappedFunctionNames: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
AlignConsecutiveDeclarations: None
AlignConsecutiveBitFields: AcrossEmptyLinesAndComments
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlines: Right
AlignTrailingComments: true
EmptyLineAfterAccessModifier: Leave
MaxEmptyLinesToKeep: 2