-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-tidy
166 lines (144 loc) · 9.5 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
---
Checks: '
bugprone-*,
clang-analyzer-*,
clang-diagnostic-*,
modernize-*,
performance-*,
readability-*,
-modernize-use-trailing-return-type,
-readability-avoid-const-params-in-decls,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- {key: readability-identifier-naming.ClassCase, value: CamelCase}
- {key: readability-identifier-naming.ClassPrefix, value: ''}
- {key: readability-identifier-naming.ClassSuffix, value: ''}
- {key: readability-identifier-naming.ClassConstantCase, value: UPPER_CASE}
- {key: readability-identifier-naming.ClassConstantPrefix, value: ''}
- {key: readability-identifier-naming.ClassConstantSuffix, value: ''}
- {key: readability-identifier-naming.ClassMemberCase, value: lower_case}
- {key: readability-identifier-naming.ClassMemberPrefix, value: 'm_'}
- {key: readability-identifier-naming.ClassMemberSuffix, value: ''}
- {key: readability-identifier-naming.ClassMethodCase, value: camelBack}
- {key: readability-identifier-naming.ClassMethodPrefix, value: ''}
- {key: readability-identifier-naming.ClassMethodSuffix, value: ''}
- {key: readability-identifier-naming.ConstantCase, value: UPPER_CASE}
- {key: readability-identifier-naming.ConstantPrefix, value: ''}
- {key: readability-identifier-naming.ConstantSuffix, value: ''}
- {key: readability-identifier-naming.ConstantMemberCase, value: UPPER_CASE}
- {key: readability-identifier-naming.ConstantMemberPrefix, value: ''}
- {key: readability-identifier-naming.ConstantMemberSuffix, value: 'm_'}
- {key: readability-identifier-naming.ConstantParameterCase, value: lower_case}
- {key: readability-identifier-naming.ConstantParameterPrefix, value: ''}
- {key: readability-identifier-naming.ConstantParameterSuffix, value: ''}
- {key: readability-identifier-naming.ConstexprFunctionCase, value: camelBack}
- {key: readability-identifier-naming.ConstexprFunctionPrefix, value: ''}
- {key: readability-identifier-naming.ConstexprFunctionSuffix, value: ''}
- {key: readability-identifier-naming.ConstexprMethodCase, value: camelBack}
- {key: readability-identifier-naming.ConstexprMethodPrefix, value: ''}
- {key: readability-identifier-naming.ConstexprMethodSuffix, value: ''}
- {key: readability-identifier-naming.ConstexprVariableCase, value: UPPER_CASE}
- {key: readability-identifier-naming.ConstexprVariablePrefix, value: ''}
- {key: readability-identifier-naming.ConstexprVariableSuffix, value: ''}
- {key: readability-identifier-naming.EnumCase, value: CamelCase}
- {key: readability-identifier-naming.EnumPrefix, value: ''}
- {key: readability-identifier-naming.EnumSuffix, value: ''}
- {key: readability-identifier-naming.EnumConstantCase, value: UPPER_CASE}
- {key: readability-identifier-naming.EnumConstantPrefix, value: ''}
- {key: readability-identifier-naming.EnumConstantSuffix, value: ''}
- {key: readability-identifier-naming.FunctionCase, value: camelBack}
- {key: readability-identifier-naming.FunctionPrefix, value: ''}
- {key: readability-identifier-naming.FunctionSuffix, value: ''}
- {key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE}
- {key: readability-identifier-naming.GlobalConstantPrefix, value: ''}
- {key: readability-identifier-naming.GlobalConstantSuffix, value: ''}
- {key: readability-identifier-naming.GlobalFunctionCase, value: camelBack}
- {key: readability-identifier-naming.GlobalFunctionPrefix, value: ''}
- {key: readability-identifier-naming.GlobalFunctionSuffix, value: ''}
- {key: readability-identifier-naming.GlobalVariableCase, value: lower_case}
- {key: readability-identifier-naming.GlobalVariablePrefix, value: 'g_'}
- {key: readability-identifier-naming.GlobalVariableSuffix, value: ''}
- {key: readability-identifier-naming.InlineNamespaceCase, value: lower_case}
- {key: readability-identifier-naming.InlineNamespacePrefix, value: ''}
- {key: readability-identifier-naming.InlineNamespaceSuffix, value: ''}
- {key: readability-identifier-naming.LocalConstantCase, value: lower_case}
- {key: readability-identifier-naming.LocalConstantPrefix, value: ''}
- {key: readability-identifier-naming.LocalConstantSuffix, value: ''}
- {key: readability-identifier-naming.LocalVariableCase, value: lower_case}
- {key: readability-identifier-naming.LocalVariablePrefix, value: ''}
- {key: readability-identifier-naming.LocalVariableSuffix, value: ''}
- {key: readability-identifier-naming.MethodCase, value: camelBack}
- {key: readability-identifier-naming.MethodPrefix, value: ''}
- {key: readability-identifier-naming.MethodSuffix, value: ''}
- {key: readability-identifier-naming.NamespaceCase, value: lower_case}
- {key: readability-identifier-naming.NamespacePrefix, value: ''}
- {key: readability-identifier-naming.NamespaceSuffix, value: ''}
- {key: readability-identifier-naming.ParameterCase, value: lower_case}
- {key: readability-identifier-naming.ParameterPrefix, value: ''}
- {key: readability-identifier-naming.ParameterSuffix, value: ''}
- {key: readability-identifier-naming.ParameterPackCase, value: lower_case}
- {key: readability-identifier-naming.ParameterPackPrefix, value: ''}
- {key: readability-identifier-naming.ParameterPackSuffix, value: ''}
- {key: readability-identifier-naming.PrivateMemberCase, value: lower_case}
- {key: readability-identifier-naming.PrivateMemberPrefix, value: 'm_'}
- {key: readability-identifier-naming.PrivateMemberSuffix, value: ''}
- {key: readability-identifier-naming.PrivateMethodCase, value: camelBack}
- {key: readability-identifier-naming.PrivateMethodPrefix, value: ''}
- {key: readability-identifier-naming.PrivateMethodSuffix, value: ''}
- {key: readability-identifier-naming.ProtectedMemberCase, value: lower_case}
- {key: readability-identifier-naming.ProtectedMemberPrefix, value: 'm_'}
- {key: readability-identifier-naming.ProtectedMemberSuffix, value: ''}
- {key: readability-identifier-naming.ProtectedMethodCase, value: camelBack}
- {key: readability-identifier-naming.ProtectedMethodPrefix, value: ''}
- {key: readability-identifier-naming.ProtectedMethodSuffix, value: ''}
- {key: readability-identifier-naming.PublicMemberCase, value: lower_case}
- {key: readability-identifier-naming.PublicMemberPrefix, value: ''}
- {key: readability-identifier-naming.PublicMemberSuffix, value: ''}
- {key: readability-identifier-naming.PublicMethodCase, value: camelBack}
- {key: readability-identifier-naming.PublicMethodPrefix, value: ''}
- {key: readability-identifier-naming.PublicMethodSuffix, value: ''}
- {key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE}
- {key: readability-identifier-naming.StaticConstantPrefix, value: ''}
- {key: readability-identifier-naming.StaticConstantSuffix, value: '_'}
- {key: readability-identifier-naming.StaticVariableCase, value: lower_case}
- {key: readability-identifier-naming.StaticVariablePrefix, value: ''}
- {key: readability-identifier-naming.StaticVariableSuffix, value: ''}
- {key: readability-identifier-naming.StructCase, value: CamelCase}
- {key: readability-identifier-naming.StructPrefix, value: ''}
- {key: readability-identifier-naming.StructSuffix, value: ''}
- {key: readability-identifier-naming.TemplateParameterCase, value: CamelCase}
- {key: readability-identifier-naming.TemplateParameterPrefix, value: ''}
- {key: readability-identifier-naming.TemplateParameterSuffix, value: 'T'}
- {key: readability-identifier-naming.TemplateTemplateParameterCase, value: CamelCase}
- {key: readability-identifier-naming.TemplateTemplateParameterPrefix, value: ''}
- {key: readability-identifier-naming.TemplateTemplateParameterSuffix, value: 'T'}
- {key: readability-identifier-naming.TypeTemplateParameterCase, value: CamelCase}
- {key: readability-identifier-naming.TypeTemplateParameterPrefix, value: ''}
- {key: readability-identifier-naming.TypeTemplateParameterSuffix, value: 'T'}
- {key: readability-identifier-naming.TypeTemplateParameterIgnoredRegexp, value: 'T|Ts'}
- {key: readability-identifier-naming.TypedefCase, value: camelBack}
- {key: readability-identifier-naming.TypedefPrefix, value: ''}
- {key: readability-identifier-naming.TypedefSuffix, value: ''}
- {key: readability-identifier-naming.UnionCase, value: CamelCase}
- {key: readability-identifier-naming.UnionPrefix, value: ''}
- {key: readability-identifier-naming.UnionSuffix, value: ''}
- {key: readability-identifier-naming.ValueTemplateParameterCase, value: CamelCase}
- {key: readability-identifier-naming.ValueTemplateParameterPrefix, value: ''}
- {key: readability-identifier-naming.ValueTemplateParameterSuffix, value: ''}
- {key: readability-identifier-naming.VariableCase, value: lower_case}
- {key: readability-identifier-naming.VariablePrefix, value: ''}
- {key: readability-identifier-naming.VariableSuffix, value: ''}
- {key: readability-identifier-naming.VariableIgnoredRegexp, value: "^[A-Z]{1,2}(_.{1,3})?$"}
- {key: readability-identifier-naming.VirtualMethodCase, value: camelBack}
- {key: readability-identifier-naming.VirtualMethodPrefix, value: ''}
- {key: readability-identifier-naming.VirtualMethodSuffix, value: ''}
- {key: readability-identifier-length.MinimumVariableNameLength, value: 0}
- {key: readability-identifier-length.MinimumParameterNameLength, value: 0}
- {key: readability-identifier-length.MinimumLoopCounterNameLength, value: 0}
- {key: readability-identifier-length.MinimumExceptionNameLength, value: 0}