| 1 |
--- |
| 2 |
InheritParentConfig: true |
| 3 |
|
| 4 |
Checks: > |
| 5 |
# For reasons that aren't clear, clang-tidy-16 will apparently |
| 6 |
# ignore disable-check requests if they were already enabled |
| 7 |
# by a glob, so we will individually enumerate all the ones we want (or don't want). |
| 8 |
# bugprone-*, |
| 9 |
bugprone-argument-comment, |
| 10 |
bugprone-assert-side-effect, |
| 11 |
-bugprone-assignment-in-if-condition, |
| 12 |
bugprone-bad-signal-to-kill-thread, |
| 13 |
bugprone-bool-pointer-implicit-conversion, |
| 14 |
-bugprone-branch-clone, |
| 15 |
bugprone-copy-constructor-init, |
| 16 |
bugprone-dangling-handle, |
| 17 |
-bugprone-dynamic-static-initializers, |
| 18 |
-bugprone-easily-swappable-parameters, |
| 19 |
-bugprone-exception-escape, |
| 20 |
bugprone-fold-init-type, |
| 21 |
bugprone-forward-declaration-namespace, |
| 22 |
bugprone-forwarding-reference-overload, |
| 23 |
-bugprone-implicit-widening-of-multiplication-result, |
| 24 |
bugprone-inaccurate-erase, |
| 25 |
bugprone-incorrect-roundings, |
| 26 |
bugprone-infinite-loop, |
| 27 |
-bugprone-integer-division, |
| 28 |
bugprone-lambda-function-name, |
| 29 |
bugprone-macro-parentheses, |
| 30 |
bugprone-macro-repeated-side-effects, |
| 31 |
bugprone-misplaced-operator-in-strlen-in-alloc, |
| 32 |
bugprone-misplaced-pointer-arithmetic-in-alloc, |
| 33 |
bugprone-misplaced-widening-cast, |
| 34 |
bugprone-move-forwarding-reference, |
| 35 |
bugprone-multiple-statement-macro, |
| 36 |
-bugprone-narrowing-conversions,, |
| 37 |
bugprone-no-escape, |
| 38 |
bugprone-not-null-terminated-result, |
| 39 |
bugprone-parent-virtual-call, |
| 40 |
bugprone-posix-return, |
| 41 |
bugprone-redundant-branch-condition, |
| 42 |
-bugprone-reserved-identifier, |
| 43 |
bugprone-shared-ptr-array-mismatch, |
| 44 |
bugprone-signal-handler, |
| 45 |
-bugprone-signed-char-misuse, |
| 46 |
bugprone-sizeof-container, |
| 47 |
-bugprone-sizeof-expression, |
| 48 |
bugprone-spuriously-wake-up-functions, |
| 49 |
bugprone-standalone-empty, |
| 50 |
bugprone-string-constructor, |
| 51 |
bugprone-string-integer-assignment, |
| 52 |
bugprone-string-literal-with-embedded-nul, |
| 53 |
bugprone-stringview-nullptr, |
| 54 |
bugprone-suspicious-enum-usage, |
| 55 |
-bugprone-suspicious-include, |
| 56 |
bugprone-suspicious-memory-comparison, |
| 57 |
bugprone-suspicious-memset-usage, |
| 58 |
bugprone-suspicious-missing-comma, |
| 59 |
bugprone-suspicious-realloc-usage, |
| 60 |
bugprone-suspicious-semicolon, |
| 61 |
bugprone-suspicious-string-compare, |
| 62 |
bugprone-swapped-arguments, |
| 63 |
bugprone-terminating-continue, |
| 64 |
bugprone-throw-keyword-missing, |
| 65 |
bugprone-too-small-loop-variable, |
| 66 |
bugprone-unchecked-optional-access, |
| 67 |
bugprone-undefined-memory-manipulation, |
| 68 |
bugprone-undelegated-constructor, |
| 69 |
bugprone-unhandled-exception-at-new, |
| 70 |
bugprone-unhandled-self-assignment, |
| 71 |
bugprone-unused-raii, |
| 72 |
bugprone-unused-return-value, |
| 73 |
bugprone-use-after-move, |
| 74 |
bugprone-virtual-near-miss, |
| 75 |
|
| 76 |
clang-diagnostic-shadow-field, |
| 77 |
|
| 78 |
misc-confusable-identifiers, |
| 79 |
-misc-const-correctness, |
| 80 |
-misc-definitions-in-headers, |
| 81 |
misc-misleading-bidirectional, |
| 82 |
misc-misleading-identifier, |
| 83 |
misc-misplaced-const, |
| 84 |
misc-new-delete-overloads, |
| 85 |
-misc-no-recursion, |
| 86 |
misc-non-copyable-objects, |
| 87 |
-misc-non-private-member-variables-in-classes, |
| 88 |
misc-redundant-expression, |
| 89 |
misc-static-assert, |
| 90 |
misc-throw-by-value-catch-by-reference, |
| 91 |
-misc-unconventional-assign-operator, |
| 92 |
misc-uniqueptr-reset-release, |
| 93 |
misc-unused-alias-decls, |
| 94 |
-misc-unused-parameters, |
| 95 |
misc-unused-using-decls, |
| 96 |
misc-use-anonymous-namespace, |
| 97 |
... |