diff options
-rw-r--r-- | .clang-tidy | 4 | ||||
-rw-r--r-- | src/.clang-tidy | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index 1e78ab46..0ea68c8e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -3,6 +3,7 @@ Checks: > -*-magic-numbers, -*-named-parameter, -*-non-private-member-variables-in-classes, + -*-special-member-functions, -abseil-*, -altera-*, -bugprone-assignment-in-if-condition, @@ -12,8 +13,11 @@ Checks: > -fuchsia-multiple-inheritance, -fuchsia-overloaded-operator, -google-default-arguments, + -google-explicit-constructor, + -hicpp-explicit-conversions, -hicpp-signed-bitwise, -llvmlibc-*, + -misc-const-correctness, -misc-unused-parameters, -modernize-use-nodiscard, -modernize-use-trailing-return-type, diff --git a/src/.clang-tidy b/src/.clang-tidy index 8b9aa445..7b04d6c4 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -4,6 +4,7 @@ Checks: > -*-vararg, -android-cloexec-*, -bugprone-easily-swappable-parameters, + -bugprone-unchecked-optional-access, -cert-dcl50-cpp, -cert-err33-c, -cert-err34-c, |