forked from tonyp7/esp32-wifi-manager
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.clang-tidy
243 lines (231 loc) · 8.21 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
---
#Checks: '
#clang-diagnostic-*,
#clang-analyzer-*,
#readability-function-cognitive-complexity,
#'
Checks: '
*,
-android-*,
-bugprone-bool-pointer-implicit-conversion,
-bugprone-exception-escape,
-bugprone-infinite-loop,
-bugprone-signed-char-misuse,
-cert-dcl50-cpp,
-cert-env33-c,
-cert-mem57-cpp,
-cert-oop57-cpp,
-cert-oop58-cpp,
#-clang-analyzer-*,
#-clang-diagnostic-*,
-cppcoreguidelines-avoid-goto,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-no-malloc,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-pro-type-cstyle-cast,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-special-member-functions,
-darwin-*,
-fuchsia-*,
-google-*,
-hicpp-avoid-goto,
-hicpp-no-assembler,
-linuxkernel-*,
-llvm-*,
-llvmlibc-*,
-misc-bool-pointer-implicit-conversion,
-misc-definitions-in-headers,
-misc-non-private-member-variables-in-classes,
-misc-redundant-expression,
#-misc-static-assert,
#-misc-unused-alias-decls,
#-misc-unused-parameters,
#-misc-unused-using-decls,
#-modernize-avoid-c-arrays,
-modernize-use-default-member-init,
-modernize-use-trailing-return-type,
-modernize-use-using,
-objc-*,
-openmp-exception-escape,
-portability-restrict-system-includes,
#-readability-braces-around-statements,
#-readability-else-after-return,
#-readability-function-size,
#-readability-identifier-naming,
#-readability-implicit-bool-conversion,
#-readability-isolate-declaration,
#-readability-magic-numbers,
#-readability-named-parameter,
#-readability-qualified-auto,
#-readability-redundant-access-specifiers,
#-readability-redundant-member-init,
#-readability-redundant-preprocessor,
#-readability-simplify-boolean-expr,
#-readability-uppercase-literal-suffix,
-zircon-*,
#-bugprone-narrowing-conversions,
-cert-con36-c,
-cert-con54-cpp,
-cert-dcl03-c,
-cert-dcl16-c,
-cert-dcl37-c,
-cert-dcl51-cpp,
-cert-dcl54-cpp,
-cert-dcl59-cpp,
-cert-err09-cpp,
-cert-err61-cpp,
-cert-fio38-c,
-cert-msc30-c,
-cert-msc32-c,
-cert-oop11-cpp,
-cert-oop54-cpp,
-cert-pos44-c,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-c-copy-assignment-signature,
-cppcoreguidelines-explicit-virtual-functions,
-cppcoreguidelines-non-private-member-variables-in-classes,
-fuchsia-header-anon-namespaces,
-google-readability-braces-around-statements,
-google-readability-function-size,
-google-readability-namespace-comments,
-hicpp-avoid-c-arrays,
-hicpp-braces-around-statements,
-hicpp-deprecated-headers,
-hicpp-explicit-conversions,
-hicpp-function-size,
-hicpp-invalid-access-moved,
-hicpp-member-init,
-hicpp-move-const-arg,
-hicpp-named-parameter,
-hicpp-new-delete-operators,
-hicpp-no-array-decay,
-hicpp-no-malloc,
-hicpp-noexcept-move,
-hicpp-special-member-functions,
-hicpp-static-assert,
-hicpp-undelegated-constructor,
-hicpp-uppercase-literal-suffix,
-hicpp-use-auto,
-hicpp-use-emplace,
-hicpp-use-equals-default,
-hicpp-use-equals-delete,
-hicpp-use-noexcept,
-hicpp-use-nullptr,
-hicpp-use-override,
-hicpp-vararg,google-default-arguments,google-explicit-constructor,google-runtime-operator,
-readability-avoid-const-params-in-decls,
-hicpp-multiway-paths-covered,
-altera-struct-pack-align,
-altera-id-dependent-backward-branch,
-altera-unroll-loops
'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: alexey
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: 30
- key: cert-dcl16-c.NewSuffixes
value: 'L;LL;LU;LLU'
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
value: '0'
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
value: '1'
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1'
- key: google-readability-braces-around-statements.ShortStatementLines
value: '1'
- key: google-readability-function-size.StatementThreshold
value: '800'
- key: google-readability-namespace-comments.ShortNamespaceLines
value: '10'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: readability-identifier-naming.ClassCase
value: 'CamelCase'
- key: readability-identifier-naming.ParameterCase
value: 'lower_case'
- key: readability-identifier-naming.PointerParameterCase
value: 'lower_case'
- key: readability-identifier-naming.PointerParameterPrefix
value: 'p_'
- key: readability-identifier-naming.ConstantParameterCase
value: 'lower_case'
- key: readability-identifier-naming.ConstantPointerParameterCase
value: 'lower_case'
- key: readability-identifier-naming.ConstantPointerParameterPrefix
value: 'p_'
- key: readability-identifier-naming.EnumCase
value: 'lower_case'
- key: readability-identifier-naming.EnumSuffix
value: '_e'
- key: readability-identifier-naming.EnumConstantCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.StructCase
value: 'lower_case'
- key: readability-identifier-naming.StructSuffix
value: '_t'
- key: readability-identifier-naming.UnionCase
value: 'lower_case'
- key: readability-identifier-naming.UnionSuffix
value: '_t'
- key: readability-identifier-naming.TypedefCase
value: 'lower_case'
- key: readability-identifier-naming.TypedefSuffix
value: '_t'
- key: readability-identifier-naming.FunctionCase
value: 'lower_case'
- key: readability-identifier-naming.GlobalFunctionCase
value: 'lower_case'
- key: readability-identifier-naming.GlobalConstantCase
value: 'UPPER_CASE'
- key: readability-identifier-naming.VariableCase
value: 'lower_case'
- key: readability-identifier-naming.GlobalVariableCase
value: 'lower_case'
- key: readability-identifier-naming.GlobalVariablePrefix
value: 'g_'
- key: readability-identifier-naming.GlobalPointerCase
value: 'lower_case'
- key: readability-identifier-naming.GlobalPointerPrefix
value: 'g_p_'
- key: readability-identifier-naming.StaticVariableCase
value: 'lower_case'
- key: readability-identifier-naming.StaticVariablePrefix
value: 'g_'
- key: readability-identifier-naming.LocalVariableCase
value: 'lower_case'
- key: readability-identifier-naming.LocalPointerCase
value: 'lower_case'
- key: readability-identifier-naming.LocalPointerPrefix
value: 'p_'
- key: readability-identifier-naming.LocalConstantPointerCase
value: 'lower_case'
- key: readability-identifier-naming.LocalConstantPointerPrefix
value: 'p_'
- key: readability-identifier-naming.MacroDefinitionCase
value: 'UPPER_CASE'
...