-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
299 lines (299 loc) · 15.2 KB
/
.clang-tidy
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-llvm-header-guard,-misc-non-private-member-variables-in-classes,readability-identifier-naming'
#WarningsAsErrors: 'readability-identifier-naming'
CheckOptions:
# - key: readability-identifier-naming.AbstractClassCase
# value: CamelCase
# - key: readability-identifier-naming.AbstractClassPrefix
# value: CamelCase
# - key: readability-identifier-naming.AbstractClassSuffix
# value: CamelCase
- key: readability-identifier-naming.ClassCase
value: CamelCase
# - key: readability-identifier-naming.ClassPrefix
# value: CamelCase
# - key: readability-identifier-naming.ClassSuffix
# value: CamelCase
# - key: readability-identifier-naming.ClassConstantCase
# value: CamelCase
# - key: readability-identifier-naming.ClassConstantPrefix
# value: CamelCase
# - key: readability-identifier-naming.ClassConstantSuffix
# value: CamelCase-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,
# - key: readability-identifier-naming.ClassMemberCase
# value: CamelCase
# - key: readability-identifier-naming.ClassMemberPrefix
# value: CamelCase
# - key: readability-identifier-naming.ClassMemberSuffix
# value: CamelCase
- key: readability-identifier-naming.ClassMethodCase
value: camelBack
# - key: readability-identifier-naming.ClassMethodPrefix
# value: CamelCase
# - key: readability-identifier-naming.ClassMethodSuffix
# value: CamelCase
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
# - key: readability-identifier-naming.ConstantPrefix
# value: CamelCase
# - key: readability-identifier-naming.ConstantSuffix
# value: CamelCase
# - key: readability-identifier-naming.ConstantMemberCase
# value: CamelCase
# - key: readability-identifier-naming.ConstantMemberPrefix
# value: CamelCase
# - key: readability-identifier-naming.ConstantMemberSuffix
# value: CamelCase
# - key: readability-identifier-naming.ConstantParameterCase
# value: CamelCase
# - key: readability-identifier-naming.ConstantParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.ConstantParameterSuffix
# value: CamelCase
# - key: readability-identifier-naming.ConstantPointerParameterCase
# value: CamelCase
# - key: readability-identifier-naming.ConstantPointerParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.ConstantPointerParameterSuffix
# value: CamelCase
- key: readability-identifier-naming.ConstexprFunctionCase
value: camelBack
# - key: readability-identifier-naming.ConstexprFunctionPrefix
# value: CamelCase
# - key: readability-identifier-naming.ConstexprFunctionSuffix
# value: CamelCase
# - key: readability-identifier-naming.ConstexprMethodCase
# value: CamelCase
# - key: readability-identifier-naming.ConstexprMethodPrefix
# value: CamelCase
# - key: readability-identifier-naming.ConstexprMethodSuffix
# value: CamelCase
# - key: readability-identifier-naming.ConstexprVariableCase
# value: CamelCase
# - key: readability-identifier-naming.ConstexprVariablePrefix
# value: CamelCase
# - key: readability-identifier-naming.ConstexprVariableSuffix
# value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
# - key: readability-identifier-naming.EnumPrefix
# value: CamelCase
# - key: readability-identifier-naming.EnumSuffix
# value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: CamelCase
# - key: readability-identifier-naming.EnumConstantPrefix
# value: CamelCase
# - key: readability-identifier-naming.EnumConstantSuffix
# value: CamelCase
# - key: readability-identifier-naming.FunctionCase
# value: CamelCase
# - key: readability-identifier-naming.FunctionPrefix
# value: CamelCase
# - key: readability-identifier-naming.FunctionSuffix
# value: CamelCase
# - key: readability-identifier-naming.GlobalConstantCase
# value: CamelCase
# - key: readability-identifier-naming.GlobalConstantPrefix
# value: CamelCase
# - key: readability-identifier-naming.GlobalConstantSuffix
# value: CamelCase
# - key: readability-identifier-naming.GlobalConstantPointerCase
# value: CamelCase
# - key: readability-identifier-naming.GlobalConstantPointerPrefix
# value: CamelCase
# - key: readability-identifier-naming.GlobalConstantPointerSuffix
# value: CamelCase
# - key: readability-identifier-naming.GlobalFunctionCase
# value: CamelCase
# - key: readability-identifier-naming.GlobalFunctionPrefix
# value: CamelCase
# - key: readability-identifier-naming.GlobalFunctionSuffix
# value: CamelCase
# - key: readability-identifier-naming.GlobalPointerCase
# value: CamelCase
# - key: readability-identifier-naming.GlobalPointerPrefix
# value: CamelCase
# - key: readability-identifier-naming.GlobalPointerSuffix
# value: CamelCase
# - key: readability-identifier-naming.GlobalVariableCase
# value: CamelCase
# - key: readability-identifier-naming.GlobalVariablePrefix
# value: CamelCase
# - key: readability-identifier-naming.GlobalVariableSuffix
# value: CamelCase
# - key: readability-identifier-naming.IgnoreMainLikeFunctions
# value: CamelCase
# - key: readability-identifier-naming.InlineNamespaceCase
# value: CamelCase
# - key: readability-identifier-naming.InlineNamespacePrefix
# value: CamelCase
# - key: readability-identifier-naming.InlineNamespaceSuffix
# value: CamelCase
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
# - key: readability-identifier-naming.LocalConstantPrefix
# value: CamelCase
# - key: readability-identifier-naming.LocalConstantSuffix
# value: CamelCase
# - key: readability-identifier-naming.LocalConstantPointerCase
# value: CamelCase
# - key: readability-identifier-naming.LocalConstantPointerPrefix
# value: CamelCase
# - key: readability-identifier-naming.LocalConstantPointerSuffix
# value: CamelCase
# - key: readability-identifier-naming.LocalPointerCase
# value: CamelCase
# - key: readability-identifier-naming.LocalPointerPrefix
# value: CamelCase
# - key: readability-identifier-naming.LocalPointerSuffix
# value: CamelCase
- key: readability-identifier-naming.LocalVariableCase
value: camelBack
# - key: readability-identifier-naming.LocalVariablePrefix
# value: CamelCase
# - key: readability-identifier-naming.LocalVariableSuffix
# value: CamelCase
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.MemberPrefix
value: ""
# - key: readability-identifier-naming.MemberSuffix
# value: CamelCase
# - key: readability-identifier-naming.MethodCase
# value: CamelCase
# - key: readability-identifier-naming.MethodPrefix
# value: CamelCase
# - key: readability-identifier-naming.MethodSuffix
# value: CamelCase
# - key: readability-identifier-naming.NamespaceCase
# value: CamelCase
# - key: readability-identifier-naming.NamespacePrefix
# value: CamelCase
# - key: readability-identifier-naming.NamespaceSuffix
# value: CamelCase
- key: readability-identifier-naming.ParameterCase
value: camelBack
# - key: readability-identifier-naming.ParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.ParameterSuffix
# value: CamelCase
# - key: readability-identifier-naming.ParameterPackCase
# value: CamelCase
# - key: readability-identifier-naming.ParameterPackPrefix
# value: CamelCase
# - key: readability-identifier-naming.ParameterPackSuffix
# value: CamelCase
# - key: readability-identifier-naming.PointerParameterCase
# value: CamelCase
# - key: readability-identifier-naming.PointerParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.PointerParameterSuffix
# value: CamelCase
# - key: readability-identifier-naming.PrivateMemberCase
# value: CamelCase
# - key: readability-identifier-naming.PrivateMemberPrefix
# value: CamelCase
# - key: readability-identifier-naming.PrivateMemberSuffix
# value: CamelCase
# - key: readability-identifier-naming.PrivateMethodCase
# value: CamelCase
# - key: readability-identifier-naming.PrivateMethodPrefix
# value: CamelCase
# - key: readability-identifier-naming.PrivateMethodSuffix
# value: CamelCase
# - key: readability-identifier-naming.ProtectedMemberCase
# value: CamelCase
# - key: readability-identifier-naming.ProtectedMemberPrefix
# value: CamelCase
# - key: readability-identifier-naming.ProtectedMemberSuffix
# value: CamelCase
# - key: readability-identifier-naming.ProtectedMethodCase
# value: CamelCase
# - key: readability-identifier-naming.ProtectedMethodPrefix
# value: CamelCase
# - key: readability-identifier-naming.ProtectedMethodSuffix
# value: CamelCase
# - key: readability-identifier-naming.PublicMemberCase
# value: CamelCase
# - key: readability-identifier-naming.PublicMemberPrefix
# value: CamelCase
# - key: readability-identifier-naming.PublicMemberSuffix
# value: CamelCase
# - key: readability-identifier-naming.PublicMethodCase
# value: CamelCase
# - key: readability-identifier-naming.PublicMethodPrefix
# value: CamelCase
# - key: readability-identifier-naming.PublicMethodSuffix
# value: CamelCase
# - key: readability-identifier-naming.StaticConstantCase
# value: CamelCase
# - key: readability-identifier-naming.StaticConstantPrefix
# value: CamelCase
# - key: readability-identifier-naming.StaticConstantSuffix
# value: CamelCase
# - key: readability-identifier-naming.StaticVariableCase
# value: CamelCase
# - key: readability-identifier-naming.StaticVariablePrefix
# value: CamelCase
# - key: readability-identifier-naming.StaticVariableSuffix
# value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
# - key: readability-identifier-naming.StructPrefix
# value: CamelCase
# - key: readability-identifier-naming.StructSuffix
# value: CamelCase
# - key: readability-identifier-naming.TemplateParameterCase
# value: CamelCase
# - key: readability-identifier-naming.TemplateParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.TemplateParameterSuffix
# value: CamelCase
# - key: readability-identifier-naming.TemplateTemplateParameterCase
# value: CamelCase
# - key: readability-identifier-naming.TemplateTemplateParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.TemplateTemplateParameterSuffix
# value: CamelCase
# - key: readability-identifier-naming.TypeAliasCase
# value: CamelCase
# - key: readability-identifier-naming.TypeAliasPrefix
# value: CamelCase
# - key: readability-identifier-naming.TypeAliasSuffix
# value: CamelCase
# - key: readability-identifier-naming.TypedefCase
# value: CamelCase
# - key: readability-identifier-naming.TypedefPrefix
# value: CamelCase
# - key: readability-identifier-naming.TypedefSuffix
# value: CamelCase
# - key: readability-identifier-naming.TypeTemplateParameterCase
# value: CamelCase
# - key: readability-identifier-naming.TypeTemplateParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.TypeTemplateParameterSuffix
# value: CamelCase
- key: readability-identifier-naming.UnionCase
value: camelBack
# - key: readability-identifier-naming.UnionPrefix
# value: CamelCase
# - key: readability-identifier-naming.UnionSuffix
# value: CamelCase
# - key: readability-identifier-naming.ValueTemplateParameterCase
# value: CamelCase
# - key: readability-identifier-naming.ValueTemplateParameterPrefix
# value: CamelCase
# - key: readability-identifier-naming.ValueTemplateParameterSuffix
# value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
# - key: readability-identifier-naming.VariablePrefix
# value: CamelCase
# - key: readability-identifier-naming.VariableSuffix
# value: CamelCase
- key: readability-identifier-naming.VirtualMethodCase
value: camelBack
# - key: readability-identifier-naming.VirtualMethodPrefix
# value: CamelCase
# - key: readability-identifier-naming.VirtualMethodSuffix
# value: CamelCase