clang-tools 19.0.0git
TidyFastChecks.inc
Go to the documentation of this file.
1// This file is generated, do not edit it directly!
2// Deltas are percentage regression in parsing clang/lib/Sema/Sema.cpp
3#ifndef FAST
4#define FAST(CHECK, DELTA)
5#endif
6#ifndef SLOW
7#define SLOW(CHECK, DELTA)
8#endif
9
10FAST(abseil-cleanup-ctad, -1.0)
11FAST(abseil-duration-addition, 0.0)
12FAST(abseil-duration-comparison, 1.0)
13FAST(abseil-duration-conversion-cast, 3.0)
14FAST(abseil-duration-division, -0.0)
15FAST(abseil-duration-factory-float, 1.0)
16FAST(abseil-duration-factory-scale, -0.0)
17FAST(abseil-duration-subtraction, 1.0)
18FAST(abseil-duration-unnecessary-conversion, 4.0)
19FAST(abseil-faster-strsplit-delimiter, 2.0)
20FAST(abseil-no-internal-dependencies, -1.0)
21FAST(abseil-no-namespace, -1.0)
22FAST(abseil-redundant-strcat-calls, 2.0)
23FAST(abseil-str-cat-append, 1.0)
24FAST(abseil-string-find-startswith, 1.0)
25FAST(abseil-string-find-str-contains, 1.0)
26FAST(abseil-time-comparison, -0.0)
27FAST(abseil-time-subtraction, 0.0)
28FAST(abseil-upgrade-duration-conversions, 2.0)
29SLOW(altera-id-dependent-backward-branch, 13.0)
30FAST(altera-kernel-name-restriction, -1.0)
31FAST(altera-single-work-item-barrier, -1.0)
32FAST(altera-struct-pack-align, -1.0)
33FAST(altera-unroll-loops, 2.0)
34FAST(android-cloexec-accept, -1.0)
35FAST(android-cloexec-accept4, 3.0)
36FAST(android-cloexec-creat, 0.0)
37FAST(android-cloexec-dup, 3.0)
38FAST(android-cloexec-epoll-create, -2.0)
39FAST(android-cloexec-epoll-create1, -1.0)
40FAST(android-cloexec-fopen, -0.0)
41FAST(android-cloexec-inotify-init, 1.0)
42FAST(android-cloexec-inotify-init1, 2.0)
43FAST(android-cloexec-memfd-create, 2.0)
44FAST(android-cloexec-open, -1.0)
45FAST(android-cloexec-pipe, -1.0)
46FAST(android-cloexec-pipe2, 0.0)
47FAST(android-cloexec-socket, 1.0)
48FAST(android-comparison-in-temp-failure-retry, 0.0)
49FAST(boost-use-to-string, 1.0)
50FAST(bugprone-argument-comment, 2.0)
51FAST(bugprone-assert-side-effect, 1.0)
52FAST(bugprone-assignment-in-if-condition, -0.0)
53FAST(bugprone-bad-signal-to-kill-thread, -1.0)
54FAST(bugprone-bool-pointer-implicit-conversion, 0.0)
55FAST(bugprone-branch-clone, -0.0)
56FAST(bugprone-copy-constructor-init, 1.0)
57FAST(bugprone-dangling-handle, 0.0)
58FAST(bugprone-dynamic-static-initializers, 1.0)
59FAST(bugprone-easily-swappable-parameters, 2.0)
60FAST(bugprone-exception-escape, 1.0)
61FAST(bugprone-fold-init-type, 2.0)
62FAST(bugprone-forward-declaration-namespace, 0.0)
63FAST(bugprone-forwarding-reference-overload, -0.0)
64FAST(bugprone-implicit-widening-of-multiplication-result, 3.0)
65FAST(bugprone-inaccurate-erase, -0.0)
66FAST(bugprone-incorrect-roundings, 1.0)
67FAST(bugprone-infinite-loop, 4.0)
68FAST(bugprone-integer-division, -3.0)
69FAST(bugprone-lambda-function-name, 1.0)
70FAST(bugprone-macro-parentheses, 8.0)
71FAST(bugprone-macro-repeated-side-effects, 1.0)
72FAST(bugprone-misplaced-operator-in-strlen-in-alloc, -0.0)
73FAST(bugprone-misplaced-pointer-arithmetic-in-alloc, 2.0)
74FAST(bugprone-misplaced-widening-cast, -2.0)
75FAST(bugprone-move-forwarding-reference, -2.0)
76FAST(bugprone-multiple-statement-macro, 1.0)
77FAST(bugprone-narrowing-conversions, -1.0)
78FAST(bugprone-no-escape, 3.0)
79FAST(bugprone-not-null-terminated-result, 4.0)
80FAST(bugprone-parent-virtual-call, 2.0)
81FAST(bugprone-posix-return, 0.0)
82FAST(bugprone-redundant-branch-condition, 0.0)
83FAST(bugprone-reserved-identifier, 2.0)
84FAST(bugprone-shared-ptr-array-mismatch, 0.0)
85FAST(bugprone-signal-handler, -0.0)
86FAST(bugprone-signed-char-misuse, 1.0)
87FAST(bugprone-sizeof-container, -0.0)
88FAST(bugprone-sizeof-expression, 0.0)
89FAST(bugprone-spuriously-wake-up-functions, 3.0)
90FAST(bugprone-string-constructor, 1.0)
91FAST(bugprone-string-integer-assignment, 1.0)
92FAST(bugprone-string-literal-with-embedded-nul, 0.0)
93FAST(bugprone-stringview-nullptr, 2.0)
94FAST(bugprone-suspicious-enum-usage, -0.0)
95FAST(bugprone-suspicious-include, 1.0)
96FAST(bugprone-suspicious-memory-comparison, 0.0)
97FAST(bugprone-suspicious-memset-usage, 2.0)
98FAST(bugprone-suspicious-missing-comma, 0.0)
99FAST(bugprone-suspicious-realloc-usage, 1.0)
100FAST(bugprone-suspicious-semicolon, 0.0)
101FAST(bugprone-suspicious-string-compare, 2.0)
102FAST(bugprone-swapped-arguments, 0.0)
103FAST(bugprone-terminating-continue, 2.0)
104FAST(bugprone-throw-keyword-missing, -1.0)
105FAST(bugprone-too-small-loop-variable, 0.0)
106FAST(bugprone-unchecked-optional-access, 1.0)
107FAST(bugprone-undefined-memory-manipulation, 1.0)
108FAST(bugprone-undelegated-constructor, 0.0)
109FAST(bugprone-unhandled-exception-at-new, 0.0)
110FAST(bugprone-unhandled-self-assignment, 0.0)
111FAST(bugprone-unused-raii, 2.0)
112FAST(bugprone-unused-return-value, 0.0)
113FAST(bugprone-use-after-move, 5.0)
114FAST(bugprone-virtual-near-miss, 0.0)
115FAST(cert-con36-c, 2.0)
116FAST(cert-con54-cpp, 3.0)
117FAST(cert-dcl03-c, 2.0)
118FAST(cert-dcl16-c, -1.0)
119FAST(cert-dcl37-c, 3.0)
120FAST(cert-dcl50-cpp, -1.0)
121FAST(cert-dcl51-cpp, 1.0)
122FAST(cert-dcl54-cpp, 0.0)
123FAST(cert-dcl58-cpp, 1.0)
124FAST(cert-dcl59-cpp, 0.0)
125FAST(cert-env33-c, -1.0)
126FAST(cert-err09-cpp, 1.0)
127FAST(cert-err33-c, 4.0)
128FAST(cert-err34-c, 0.0)
129FAST(cert-err52-cpp, 1.0)
130FAST(cert-err58-cpp, 0.0)
131FAST(cert-err60-cpp, 0.0)
132FAST(cert-err61-cpp, -0.0)
133FAST(cert-exp42-c, 0.0)
134FAST(cert-fio38-c, 1.0)
135FAST(cert-flp30-c, 0.0)
136FAST(cert-flp37-c, 1.0)
137FAST(cert-mem57-cpp, 0.0)
138FAST(cert-msc30-c, -0.0)
139FAST(cert-msc32-c, 1.0)
140FAST(cert-msc50-cpp, -1.0)
141FAST(cert-msc51-cpp, 1.0)
142FAST(cert-msc54-cpp, -1.0)
143FAST(cert-oop11-cpp, 1.0)
144FAST(cert-oop54-cpp, -0.0)
145FAST(cert-oop57-cpp, 1.0)
146FAST(cert-oop58-cpp, 0.0)
147FAST(cert-pos44-c, 0.0)
148FAST(cert-pos47-c, -0.0)
149FAST(cert-sig30-c, 2.0)
150FAST(cert-str34-c, 0.0)
151FAST(concurrency-mt-unsafe, 3.0)
152FAST(concurrency-thread-canceltype-asynchronous, 1.0)
153FAST(cppcoreguidelines-avoid-c-arrays, 2.0)
154FAST(cppcoreguidelines-avoid-const-or-ref-data-members, 1.0)
155FAST(cppcoreguidelines-avoid-do-while, -2.0)
156FAST(cppcoreguidelines-avoid-goto, 2.0)
157FAST(cppcoreguidelines-avoid-magic-numbers, 1.0)
158FAST(cppcoreguidelines-avoid-non-const-global-variables, -0.0)
159FAST(cppcoreguidelines-c-copy-assignment-signature, 1.0)
160FAST(cppcoreguidelines-explicit-virtual-functions, -1.0)
161FAST(cppcoreguidelines-init-variables, 2.0)
162FAST(cppcoreguidelines-interfaces-global-init, -1.0)
163FAST(cppcoreguidelines-macro-usage, 2.0)
164FAST(cppcoreguidelines-narrowing-conversions, -2.0)
165FAST(cppcoreguidelines-no-malloc, -1.0)
166FAST(cppcoreguidelines-non-private-member-variables-in-classes, -0.0)
167FAST(cppcoreguidelines-owning-memory, 3.0)
168FAST(cppcoreguidelines-prefer-member-initializer, 1.0)
169FAST(cppcoreguidelines-pro-bounds-array-to-pointer-decay, 3.0)
170FAST(cppcoreguidelines-pro-bounds-constant-array-index, 3.0)
171FAST(cppcoreguidelines-pro-bounds-pointer-arithmetic, 0.0)
172FAST(cppcoreguidelines-pro-type-const-cast, 1.0)
173FAST(cppcoreguidelines-pro-type-cstyle-cast, -1.0)
174FAST(cppcoreguidelines-pro-type-member-init, 1.0)
175FAST(cppcoreguidelines-pro-type-reinterpret-cast, 2.0)
176FAST(cppcoreguidelines-pro-type-static-cast-downcast, 0.0)
177FAST(cppcoreguidelines-pro-type-union-access, 1.0)
178FAST(cppcoreguidelines-pro-type-vararg, 1.0)
179FAST(cppcoreguidelines-slicing, 3.0)
180FAST(cppcoreguidelines-special-member-functions, -1.0)
181FAST(cppcoreguidelines-virtual-class-destructor, 0.0)
182FAST(darwin-avoid-spinlock, 1.0)
183FAST(darwin-dispatch-once-nonstatic, -0.0)
184FAST(fuchsia-default-arguments-calls, 2.0)
185FAST(fuchsia-default-arguments-declarations, -0.0)
186FAST(fuchsia-header-anon-namespaces, -0.0)
187FAST(fuchsia-multiple-inheritance, -1.0)
188FAST(fuchsia-overloaded-operator, -0.0)
189FAST(fuchsia-statically-constructed-objects, -0.0)
190FAST(fuchsia-trailing-return, 2.0)
191FAST(fuchsia-virtual-inheritance, 1.0)
192FAST(google-build-explicit-make-pair, 2.0)
193FAST(google-build-namespaces, -1.0)
194FAST(google-build-using-namespace, 0.0)
195FAST(google-default-arguments, 1.0)
196FAST(google-explicit-constructor, 2.0)
197FAST(google-global-names-in-headers, -1.0)
198FAST(google-objc-avoid-nsobject-new, 1.0)
199FAST(google-objc-avoid-throwing-exception, 1.0)
200FAST(google-objc-function-naming, 1.0)
201FAST(google-objc-global-variable-declaration, -0.0)
202FAST(google-readability-avoid-underscore-in-googletest-name, -0.0)
203FAST(google-readability-braces-around-statements, 1.0)
204FAST(google-readability-casting, 1.0)
205FAST(google-readability-function-size, 0.0)
206FAST(google-readability-namespace-comments, 0.0)
207FAST(google-readability-todo, 1.0)
208FAST(google-runtime-int, -1.0)
209FAST(google-runtime-operator, -0.0)
210FAST(google-upgrade-googletest-case, 0.0)
211FAST(hicpp-avoid-c-arrays, 1.0)
212FAST(hicpp-avoid-goto, 0.0)
213FAST(hicpp-braces-around-statements, 1.0)
214FAST(hicpp-deprecated-headers, -1.0)
215FAST(hicpp-exception-baseclass, 0.0)
216FAST(hicpp-explicit-conversions, -1.0)
217FAST(hicpp-function-size, 1.0)
218FAST(hicpp-invalid-access-moved, 6.0)
219FAST(hicpp-member-init, 2.0)
220FAST(hicpp-move-const-arg, 1.0)
221FAST(hicpp-multiway-paths-covered, 3.0)
222FAST(hicpp-named-parameter, 1.0)
223FAST(hicpp-new-delete-operators, 0.0)
224FAST(hicpp-no-array-decay, 3.0)
225FAST(hicpp-no-assembler, -0.0)
226FAST(hicpp-no-malloc, 1.0)
227FAST(hicpp-noexcept-move, -0.0)
228FAST(hicpp-signed-bitwise, 0.0)
229FAST(hicpp-special-member-functions, 0.0)
230FAST(hicpp-static-assert, 1.0)
231FAST(hicpp-undelegated-constructor, 3.0)
232FAST(hicpp-uppercase-literal-suffix, 3.0)
233FAST(hicpp-use-auto, 3.0)
234FAST(hicpp-use-emplace, 1.0)
235FAST(hicpp-use-equals-default, 1.0)
236FAST(hicpp-use-equals-delete, 0.0)
237FAST(hicpp-use-noexcept, -1.0)
238FAST(hicpp-use-nullptr, 2.0)
239FAST(hicpp-use-override, -0.0)
240FAST(hicpp-vararg, -2.0)
241FAST(linuxkernel-must-check-errs, 1.0)
242FAST(llvm-else-after-return, 0.0)
243FAST(llvm-header-guard, 2.0)
244FAST(llvm-include-order, 3.0)
245FAST(llvm-namespace-comment, 1.0)
246FAST(llvm-prefer-isa-or-dyn-cast-in-conditionals, 0.0)
247FAST(llvm-prefer-register-over-unsigned, 1.0)
248FAST(llvm-qualified-auto, 0.0)
249FAST(llvm-twine-local, -2.0)
250FAST(llvmlibc-callee-namespace, 2.0)
251FAST(llvmlibc-implementation-in-namespace, 2.0)
252FAST(llvmlibc-restrict-system-libc-headers, -0.0)
253FAST(misc-confusable-identifiers, 1.0)
254SLOW(misc-const-correctness, 261.0)
255FAST(misc-definitions-in-headers, -1.0)
256FAST(misc-misleading-bidirectional, -0.0)
257FAST(misc-misleading-identifier, -1.0)
258FAST(misc-misplaced-const, 1.0)
259FAST(misc-new-delete-overloads, -1.0)
260FAST(misc-no-recursion, -2.0)
261FAST(misc-non-copyable-objects, 1.0)
262FAST(misc-non-private-member-variables-in-classes, 2.0)
263FAST(misc-redundant-expression, 0.0)
264FAST(misc-static-assert, 1.0)
265FAST(misc-throw-by-value-catch-by-reference, -1.0)
266FAST(misc-unconventional-assign-operator, 1.0)
267FAST(misc-uniqueptr-reset-release, 0.0)
268FAST(misc-unused-alias-decls, 1.0)
269FAST(misc-unused-parameters, 0.0)
270FAST(misc-unused-using-decls, 4.0)
271FAST(modernize-avoid-bind, 1.0)
272FAST(modernize-avoid-c-arrays, 2.0)
273FAST(modernize-concat-nested-namespaces, -1.0)
274FAST(modernize-deprecated-headers, -0.0)
275FAST(modernize-deprecated-ios-base-aliases, 1.0)
276FAST(modernize-loop-convert, 2.0)
277FAST(modernize-macro-to-enum, 1.0)
278FAST(modernize-make-shared, -0.0)
279FAST(modernize-make-unique, 0.0)
280FAST(modernize-pass-by-value, 1.0)
281FAST(modernize-raw-string-literal, 1.0)
282FAST(modernize-redundant-void-arg, -1.0)
283FAST(modernize-replace-auto-ptr, -1.0)
284FAST(modernize-replace-disallow-copy-and-assign-macro, -2.0)
285FAST(modernize-replace-random-shuffle, 0.0)
286FAST(modernize-return-braced-init-list, -1.0)
287FAST(modernize-shrink-to-fit, 2.0)
288FAST(modernize-unary-static-assert, -1.0)
289FAST(modernize-use-auto, 2.0)
290FAST(modernize-use-bool-literals, 1.0)
291FAST(modernize-use-default-member-init, 2.0)
292FAST(modernize-use-emplace, 1.0)
293FAST(modernize-use-equals-default, 2.0)
294FAST(modernize-use-equals-delete, 0.0)
295FAST(modernize-use-nodiscard, 1.0)
296FAST(modernize-use-noexcept, 1.0)
297FAST(modernize-use-nullptr, 2.0)
298FAST(modernize-use-override, 1.0)
299FAST(modernize-use-trailing-return-type, -0.0)
300FAST(modernize-use-transparent-functors, -1.0)
301FAST(modernize-use-uncaught-exceptions, 1.0)
302FAST(modernize-use-using, 1.0)
303FAST(objc-assert-equals, -1.0)
304FAST(objc-avoid-nserror-init, -2.0)
305FAST(objc-dealloc-in-category, -0.0)
306FAST(objc-forbidden-subclassing, 0.0)
307FAST(objc-missing-hash, 1.0)
308FAST(objc-nsdate-formatter, 1.0)
309FAST(objc-nsinvocation-argument-lifetime, -2.0)
310FAST(objc-property-declaration, -1.0)
311FAST(objc-super-self, -0.0)
312FAST(openmp-exception-escape, 1.0)
313FAST(openmp-use-default-none, 1.0)
314FAST(performance-faster-string-find, 2.0)
315FAST(performance-for-range-copy, 2.0)
316FAST(performance-implicit-conversion-in-loop, 1.0)
317FAST(performance-inefficient-algorithm, 0.0)
318FAST(performance-inefficient-string-concatenation, -0.0)
319FAST(performance-inefficient-vector-operation, 1.0)
320FAST(performance-move-const-arg, 3.0)
321FAST(performance-move-constructor-init, 1.0)
322FAST(performance-no-automatic-move, -1.0)
323FAST(performance-no-int-to-ptr, 2.0)
324FAST(performance-noexcept-move-constructor, 1.0)
325FAST(performance-trivially-destructible, -1.0)
326FAST(performance-type-promotion-in-math-fn, 4.0)
327FAST(performance-unnecessary-copy-initialization, 4.0)
328FAST(performance-unnecessary-value-param, 2.0)
329FAST(portability-restrict-system-includes, 2.0)
330FAST(portability-simd-intrinsics, 2.0)
331FAST(portability-std-allocator-const, 2.0)
332FAST(readability-avoid-const-params-in-decls, -0.0)
333FAST(readability-braces-around-statements, 2.0)
334FAST(readability-const-return-type, -0.0)
335FAST(readability-container-contains, -0.0)
336FAST(readability-container-data-pointer, 0.0)
337SLOW(readability-container-size-empty, 16.0)
338FAST(readability-convert-member-functions-to-static, 0.0)
339FAST(readability-delete-null-pointer, 0.0)
340FAST(readability-duplicate-include, -0.0)
341FAST(readability-else-after-return, 1.0)
342FAST(readability-function-cognitive-complexity, 0.0)
343FAST(readability-function-size, 3.0)
344FAST(readability-identifier-length, -1.0)
345FAST(readability-identifier-naming, 5.0)
346FAST(readability-implicit-bool-conversion, 2.0)
347FAST(readability-inconsistent-declaration-parameter-name, 1.0)
348FAST(readability-isolate-declaration, 1.0)
349FAST(readability-magic-numbers, -1.0)
350FAST(readability-make-member-function-const, 2.0)
351FAST(readability-misleading-indentation, 0.0)
352FAST(readability-misplaced-array-index, -0.0)
353FAST(readability-named-parameter, -0.0)
354FAST(readability-non-const-parameter, 1.0)
355FAST(readability-qualified-auto, -0.0)
356FAST(readability-redundant-access-specifiers, -1.0)
357FAST(readability-redundant-control-flow, -1.0)
358FAST(readability-redundant-declaration, -0.0)
359FAST(readability-redundant-function-ptr-dereference, -1.0)
360FAST(readability-redundant-member-init, 0.0)
361FAST(readability-redundant-preprocessor, 0.0)
362FAST(readability-redundant-smartptr-get, 6.0)
363FAST(readability-redundant-string-cstr, 0.0)
364FAST(readability-redundant-string-init, 1.0)
365FAST(readability-simplify-boolean-expr, 1.0)
366FAST(readability-simplify-subscript-expr, -0.0)
367FAST(readability-static-accessed-through-instance, 1.0)
368FAST(readability-static-definition-in-anonymous-namespace, -0.0)
369FAST(readability-string-compare, -0.0)
370FAST(readability-suspicious-call-argument, 0.0)
371FAST(readability-uniqueptr-delete-release, 1.0)
372FAST(readability-uppercase-literal-suffix, 3.0)
373FAST(readability-use-anyofallof, 1.0)
374FAST(zircon-temporary-objects, 1.0)
375
376#undef FAST
377#undef SLOW
#define SLOW(CHECK, TIME)
#define FAST(CHECK, TIME)
Some operations such as code completion produce a set of candidates.