diff options
-rw-r--r-- | .clang-tidy | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index 7008c2f..3d4d8a2 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -10,9 +10,11 @@ Checks: > -*-use-equals-delete, -*-vararg, -abseil-string-find-str-contains, + -altera-*, -android-cloexec-fopen, -bugprone-branch-clone, -bugprone-copy-constructor-init, + -bugprone-easily-swappable-parameters, -bugprone-narrowing-conversions, -bugprone-reserved-identifier, -bugprone-suspicious-include, @@ -20,6 +22,7 @@ Checks: > -cert-dcl37-c, -cert-dcl51-cpp, -cert-err34-c, + -clang-analyzer-core.uninitialized.ArraySubscript, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -clang-analyzer-valist.Uninitialized, -cppcoreguidelines-avoid-non-const-global-variables, @@ -46,12 +49,14 @@ Checks: > -llvmlibc-*, -misc-no-recursion, -misc-unused-parameters, + -modernize-return-braced-init-list, -modernize-use-default-member-init, -modernize-use-trailing-return-type, -performance-faster-string-find, -performance-noexcept-move-constructor, -performance-unnecessary-value-param, -readability-const-return-type, + -readability-function-cognitive-complexity, -readability-implicit-bool-conversion, -readability-redundant-member-init, WarningsAsErrors: '*' |