diff --git a/.clang-tidy b/.clang-tidy index d070405c5..ea3c8076f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -31,6 +31,10 @@ Checks: > -bugprone-suspicious-include, -bugprone-unhandled-self-assignment, -bugprone-suspicious-realloc-usage, + -bugprone-switch-missing-default-case, + -bugprone-casting-through-void, + -bugprone-multi-level-implicit-pointer-conversion, + -bugprone-unchecked-optional-access, clang-analyzer-*, -clang-analyzer-optin.cplusplus.UninitializedObject, -clang-analyzer-optin.cplusplus.VirtualCall, @@ -50,6 +54,7 @@ Checks: > -misc-static-assert, -misc-unused-parameters, -misc-use-anonymous-namespace, + -misc-include-cleaner, modernize-avoid-bind, modernize-concat-nested-namespaces, modernize-deprecated-headers, @@ -85,8 +90,11 @@ Checks: > -readability-simplify-boolean-expr, -readability-suspicious-call-argument, -readability-uppercase-literal-suffix, + -readability-use-std-min-max, + -readability-avoid-nested-conditional-operator, performance-*, -performance-no-int-to-ptr, + -performance-enum-size, portability-*, WarningsAsErrors: