| 1 |
Checks: '\ |
| 2 |
-*,\ # definitely good checks |
| 3 |
modernize-*,\ |
| 4 |
performance-*,\ |
| 5 |
readability-*,\ |
| 6 |
cppcoreguidelines-*,\ |
| 7 |
hicpp-*,\ |
| 8 |
google-*,\ |
| 9 |
bugprone-*,\ |
| 10 |
\ # intentionally disabled checks (sorted alphabetically) |
| 11 |
-bugprone-branch-clone,\ |
| 12 |
-bugprone-easily-swappable-parameters,\ |
| 13 |
-bugprone-exception-escape,\ # TODO? |
| 14 |
-bugprone-implicit-widening-of-multiplication-result,\ # TODO? |
| 15 |
-bugprone-macro-parentheses,\ |
| 16 |
-bugprone-misplaced-widening-cast,\ |
| 17 |
-bugprone-narrowing-conversions,\ |
| 18 |
-bugprone-reserved-identifier,\ |
| 19 |
-bugprone-signed-char-misuse,\ # TODO? |
| 20 |
-cppcoreguidelines-avoid-c-arrays,\ |
| 21 |
-cppcoreguidelines-avoid-const-or-ref-data-members,\ |
| 22 |
-cppcoreguidelines-avoid-do-while,\ |
| 23 |
-cppcoreguidelines-avoid-magic-numbers,\ |
| 24 |
-cppcoreguidelines-avoid-non-const-global-variables,\ |
| 25 |
-cppcoreguidelines-c-copy-assignment-signature,\ |
| 26 |
-cppcoreguidelines-init-variables,\ |
| 27 |
-cppcoreguidelines-macro-usage,\ |
| 28 |
-cppcoreguidelines-narrowing-conversions,\ |
| 29 |
-cppcoreguidelines-non-private-member-variables-in-classes,\ |
| 30 |
-cppcoreguidelines-owning-memory,\ # TODO |
| 31 |
-cppcoreguidelines-prefer-member-initializer,\ |
| 32 |
-cppcoreguidelines-pro-bounds-constant-array-index,\ |
| 33 |
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,\ # false positive? |
| 34 |
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\ |
| 35 |
-cppcoreguidelines-pro-type-const-cast,\ |
| 36 |
-cppcoreguidelines-pro-type-cstyle-cast,\ |
| 37 |
-cppcoreguidelines-pro-type-member-init,\ |
| 38 |
-cppcoreguidelines-pro-type-reinterpret-cast,\ |
| 39 |
-cppcoreguidelines-pro-type-static-cast-downcast,\ |
| 40 |
-cppcoreguidelines-pro-type-union-access,\ |
| 41 |
-cppcoreguidelines-pro-type-vararg,\ |
| 42 |
-cppcoreguidelines-special-member-functions,\ # TODO (mostly fixed) |
| 43 |
-cppcoreguidelines-virtual-class-destructor,\ |
| 44 |
-google-explicit-constructor,\ |
| 45 |
-google-readability-braces-around-statements,\ |
| 46 |
-google-readability-casting,\ |
| 47 |
-google-readability-namespace-comments,\ |
| 48 |
-google-readability-todo,\ |
| 49 |
-google-runtime-int,\ # TODO |
| 50 |
-google-default-arguments,\ |
| 51 |
-hicpp-special-member-functions,\ |
| 52 |
-hicpp-braces-around-statements,\ |
| 53 |
-hicpp-explicit-conversions,\ |
| 54 |
-hicpp-use-auto,\ |
| 55 |
-hicpp-uppercase-literal-suffix,\ |
| 56 |
-hicpp-avoid-c-arrays,\ |
| 57 |
-hicpp-member-init,-hicpp-vararg,\ |
| 58 |
-hicpp-no-array-decay,\ |
| 59 |
-hicpp-signed-bitwise,\ |
| 60 |
-modernize-pass-by-value,\ |
| 61 |
-modernize-use-auto,\ |
| 62 |
-modernize-use-nodiscard,\ |
| 63 |
-modernize-use-trailing-return-type,\ |
| 64 |
-performance-unnecessary-value-param,\ |
| 65 |
-readability-braces-around-statements,\ |
| 66 |
-readability-convert-member-functions-to-static,\ |
| 67 |
-readability-function-cognitive-complexity,\ |
| 68 |
-readability-identifier-length,\ |
| 69 |
-readability-implicit-bool-conversion,\ |
| 70 |
-readability-magic-numbers,\ |
| 71 |
-readability-redundant-access-specifiers,\ |
| 72 |
-readability-suspicious-call-argument,\ |
| 73 |
-readability-uppercase-literal-suffix,\ |
| 74 |
\ # TODO |
| 75 |
-modernize-avoid-c-arrays,\ |
| 76 |
-readability-use-anyofallof,\ |
| 77 |
' |
| 78 |
|
| 79 |
WarningsAsErrors: "*" |
| 80 |
HeaderFilterRegex: '.*' |
| 81 |
FormatStyle: file |
| 82 |
UseColor: true |
| 83 |
CheckOptions: |
| 84 |
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor |
| 85 |
value: 1 |
| 86 |
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted |
| 87 |
value: 1 |