-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
136 lines (135 loc) · 3.7 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Generated by https://github.com/Wirena/clang-format-configurator-v2
---
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
UseTab: Never
UseCRLF: false
TabWidth: 4
Standard: Latest
SpacesInSquareBrackets: false
SpacesInParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInConditionalStatement: false
SpacesInCStyleCastParentheses: false
SpacesInAngles: Never
SpacesBeforeTrailingComments: 2
SpaceInEmptyParentheses: false
SpaceInEmptyBlock: false
SpaceBeforeSquareBrackets: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeParens: ControlStatementsExceptControlMacros
SpaceBeforeInheritanceColon: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCaseColon: false
SpaceBeforeAssignmentOperators: true
SpaceAroundPointerQualifiers: Default
SpaceAfterTemplateKeyword: true
SpaceAfterLogicalNot: true
SpaceAfterCStyleCast: true
SortUsingDeclarations: true
SortIncludes: Never
SeparateDefinitionBlocks: Always
RequiresClausePosition: SingleLine
ReflowComments: true
ReferenceAlignment: Pointer
QualifierAlignment: Left
PointerAlignment: Right
PackConstructorInitializers: CurrentLine
PPIndentWidth: 4
NamespaceIndentation: Inner
MaxEmptyLinesToKeep: 1
LambdaBodyIndentation: Signature
KeepEmptyLinesAtTheStartOfBlocks: false
InsertTrailingCommas: Wrapped
IndentWrappedFunctionNames: false
IndentWidth: 4
IndentRequiresClause: true
IndentPPDirectives: AfterHash
IndentGotoLabels: true
IndentExternBlock: AfterExternBlock
IndentCaseLabels: false
IndentCaseBlocks: false
IndentAccessModifiers: false
FixNamespaceComments: true
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
DerivePointerAlignment: false
DeriveLineEnding: false
Cpp11BracedListStyle: true
ContinuationIndentWidth: 4
ConstructorInitializerIndentWidth: 4
CompactNamespaces: false
ColumnLimit: 88
BreakStringLiterals: true
BreakInheritanceList: AfterColon
BreakConstructorInitializers: AfterColon
BreakBeforeTernaryOperators: true
BreakBeforeConceptDeclarations: Allowed
BreakBeforeBraces: Custom
BreakBeforeBinaryOperators: NonAssignment
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BitFieldColonSpacing: Both
BinPackParameters: false
BinPackArguments: false
AlwaysBreakTemplateDeclarations: MultiLine
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
AllowShortLoopsOnASingleLine: false
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortFunctionsOnASingleLine: Inline
AllowShortEnumsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortBlocksOnASingleLine: Empty
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
AlignTrailingComments: true
AlignOperands: Align
AlignEscapedNewlines: Left
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AlignCompound: true
PadOperators: true
AlignConsecutiveDeclarations:
Enabled: true
AlignCompound: true
PadOperators: true
AcrossComments: true
AcrossEmptyLines: false
AlignConsecutiveBitFields:
PadOperators: true
AlignCompound: true
AcrossComments: true
AcrossEmptyLines: false
Enabled: true
AlignConsecutiveAssignments:
PadOperators: true
AlignCompound: true
AcrossComments: true
AcrossEmptyLines: false
Enabled: true
AlignArrayOfStructures: Right
SpaceBeforeParensOptions: {}