2
2
Language : Cpp
3
3
AccessModifierOffset : -4
4
4
AlignAfterOpenBracket : Align
5
- AlignConsecutiveMacros : false
6
- AlignConsecutiveAssignments : true
7
- AlignConsecutiveDeclarations : false
5
+ AlignArrayOfStructures : None
6
+ AlignConsecutiveMacros : Consecutive
7
+ AlignConsecutiveAssignments : Consecutive
8
+ AlignConsecutiveBitFields : None
9
+ AlignConsecutiveDeclarations : None
8
10
AlignEscapedNewlines : Left
9
- AlignOperands : true
11
+ AlignOperands : Align
10
12
AlignTrailingComments : true
11
13
AllowAllArgumentsOnNextLine : true
12
- AllowAllConstructorInitializersOnNextLine : true
13
14
AllowAllParametersOfDeclarationOnNextLine : true
14
- AllowShortBlocksOnASingleLine : false
15
+ AllowShortEnumsOnASingleLine : true
16
+ AllowShortBlocksOnASingleLine : Never
15
17
AllowShortCaseLabelsOnASingleLine : false
16
18
AllowShortFunctionsOnASingleLine : InlineOnly
17
19
AllowShortLambdasOnASingleLine : All
@@ -21,12 +23,14 @@ AlwaysBreakAfterDefinitionReturnType: None
21
23
AlwaysBreakAfterReturnType : None
22
24
AlwaysBreakBeforeMultilineStrings : false
23
25
AlwaysBreakTemplateDeclarations : Yes
26
+ AttributeMacros :
27
+ - __capability
24
28
BinPackArguments : true
25
29
BinPackParameters : true
26
30
BraceWrapping :
27
31
AfterCaseLabel : false
28
32
AfterClass : false
29
- AfterControlStatement : false
33
+ AfterControlStatement : Never
30
34
AfterEnum : false
31
35
AfterFunction : false
32
36
AfterNamespace : false
@@ -36,11 +40,14 @@ BraceWrapping:
36
40
AfterExternBlock : false
37
41
BeforeCatch : false
38
42
BeforeElse : false
43
+ BeforeLambdaBody : false
44
+ BeforeWhile : false
39
45
IndentBraces : false
40
46
SplitEmptyFunction : true
41
47
SplitEmptyRecord : true
42
48
SplitEmptyNamespace : true
43
49
BreakBeforeBinaryOperators : None
50
+ BreakBeforeConceptDeclarations : true
44
51
BreakBeforeBraces : Attach
45
52
BreakBeforeInheritanceComma : false
46
53
BreakInheritanceList : BeforeColon
@@ -51,76 +58,134 @@ BreakAfterJavaFieldAnnotations: false
51
58
BreakStringLiterals : true
52
59
ColumnLimit : 0
53
60
CommentPragmas : ' ^ IWYU pragma:'
61
+ QualifierAlignment : Leave
54
62
CompactNamespaces : false
55
- ConstructorInitializerAllOnOneLineOrOnePerLine : true
56
63
ConstructorInitializerIndentWidth : 4
57
64
ContinuationIndentWidth : 4
58
65
Cpp11BracedListStyle : true
66
+ DeriveLineEnding : true
59
67
DerivePointerAlignment : false
60
68
DisableFormat : false
69
+ EmptyLineAfterAccessModifier : Never
70
+ EmptyLineBeforeAccessModifier : LogicalBlock
61
71
ExperimentalAutoDetectBinPacking : false
72
+ PackConstructorInitializers : NextLine
73
+ BasedOnStyle : ' '
74
+ ConstructorInitializerAllOnOneLineOrOnePerLine : false
75
+ AllowAllConstructorInitializersOnNextLine : true
62
76
FixNamespaceComments : false
63
77
ForEachMacros :
64
78
- foreach
65
79
- Q_FOREACH
66
80
- BOOST_FOREACH
81
+ IfMacros :
82
+ - KJ_IF_MAYBE
67
83
IncludeBlocks : Preserve
68
84
IncludeCategories :
69
85
- Regex : ' ^"(llvm|llvm-c|clang|clang-c)/'
70
86
Priority : 2
87
+ SortPriority : 0
88
+ CaseSensitive : false
71
89
- Regex : ' ^(<|"(gtest|gmock|isl|json)/)'
72
90
Priority : 3
91
+ SortPriority : 0
92
+ CaseSensitive : false
73
93
- Regex : ' .*'
74
94
Priority : 1
95
+ SortPriority : 0
96
+ CaseSensitive : false
75
97
IncludeIsMainRegex : ' (Test)?$'
98
+ IncludeIsMainSourceRegex : ' '
99
+ IndentAccessModifiers : false
76
100
IndentCaseLabels : false
101
+ IndentCaseBlocks : false
102
+ IndentGotoLabels : true
77
103
IndentPPDirectives : None
104
+ IndentExternBlock : AfterExternBlock
105
+ IndentRequires : false
78
106
IndentWidth : 4
79
107
IndentWrappedFunctionNames : false
108
+ InsertTrailingCommas : None
80
109
JavaScriptQuotes : Leave
81
110
JavaScriptWrapImports : true
82
111
KeepEmptyLinesAtTheStartOfBlocks : true
112
+ LambdaBodyIndentation : Signature
83
113
MacroBlockBegin : ' '
84
114
MacroBlockEnd : ' '
85
115
MaxEmptyLinesToKeep : 1
86
116
NamespaceIndentation : None
87
117
ObjCBinPackProtocolList : Auto
88
118
ObjCBlockIndentWidth : 2
119
+ ObjCBreakBeforeNestedBlockParam : true
89
120
ObjCSpaceAfterProperty : false
90
121
ObjCSpaceBeforeProtocolList : true
91
122
PenaltyBreakAssignment : 2
92
123
PenaltyBreakBeforeFirstCallParameter : 19
93
124
PenaltyBreakComment : 300
94
125
PenaltyBreakFirstLessLess : 120
126
+ PenaltyBreakOpenParenthesis : 0
95
127
PenaltyBreakString : 1000
96
128
PenaltyBreakTemplateDeclaration : 10
97
129
PenaltyExcessCharacter : 1000000
98
130
PenaltyReturnTypeOnItsOwnLine : 60
131
+ PenaltyIndentedWhitespace : 0
99
132
PointerAlignment : Right
133
+ PPIndentWidth : -1
134
+ ReferenceAlignment : Pointer
100
135
ReflowComments : true
101
- SortIncludes : true
136
+ RemoveBracesLLVM : false
137
+ SeparateDefinitionBlocks : Leave
138
+ ShortNamespaceLines : 1
139
+ SortIncludes : CaseSensitive
140
+ SortJavaStaticImport : Before
102
141
SortUsingDeclarations : true
103
142
SpaceAfterCStyleCast : false
104
143
SpaceAfterLogicalNot : false
105
144
SpaceAfterTemplateKeyword : true
106
145
SpaceBeforeAssignmentOperators : true
146
+ SpaceBeforeCaseColon : false
107
147
SpaceBeforeCpp11BracedList : false
108
148
SpaceBeforeCtorInitializerColon : true
109
149
SpaceBeforeInheritanceColon : true
110
150
SpaceBeforeParens : ControlStatements
151
+ SpaceBeforeParensOptions :
152
+ AfterControlStatements : true
153
+ AfterForeachMacros : true
154
+ AfterFunctionDefinitionName : false
155
+ AfterFunctionDeclarationName : false
156
+ AfterIfMacros : true
157
+ AfterOverloadedOperator : false
158
+ BeforeNonEmptyParentheses : false
159
+ SpaceAroundPointerQualifiers : Default
111
160
SpaceBeforeRangeBasedForLoopColon : true
161
+ SpaceInEmptyBlock : false
112
162
SpaceInEmptyParentheses : false
113
163
SpacesBeforeTrailingComments : 1
114
- SpacesInAngles : false
164
+ SpacesInAngles : Never
165
+ SpacesInConditionalStatement : false
115
166
SpacesInContainerLiterals : true
116
167
SpacesInCStyleCastParentheses : false
168
+ SpacesInLineCommentPrefix :
169
+ Minimum : 1
170
+ Maximum : -1
117
171
SpacesInParentheses : false
118
172
SpacesInSquareBrackets : false
119
- Standard : Cpp11
173
+ SpaceBeforeSquareBrackets : false
174
+ BitFieldColonSpacing : Both
175
+ Standard : Latest
176
+ StatementAttributeLikeMacros :
177
+ - Q_EMIT
120
178
StatementMacros :
121
179
- Q_UNUSED
122
180
- QT_REQUIRE_VERSION
123
181
TabWidth : 4
182
+ UseCRLF : false
124
183
UseTab : ForContinuationAndIndentation
184
+ WhitespaceSensitiveMacros :
185
+ - STRINGIZE
186
+ - PP_STRINGIZE
187
+ - BOOST_PP_STRINGIZE
188
+ - NS_SWIFT_NAME
189
+ - CF_SWIFT_NAME
125
190
...
126
191
0 commit comments