diff --git a/.clang-tidy b/.clang-tidy index 43fe6793a..52a2d66b9 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -33,6 +33,7 @@ Checks: > -clang-analyzer-valist.Uninitialized, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, -cppcoreguidelines-owning-memory, + -cppcoreguidelines-avoid-c-arrays, -cppcoreguidelines-avoid-do-while, -cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-avoid-non-const-global-variables, @@ -57,6 +58,7 @@ Checks: > -modernize-use-trailing-return-type, -modernize-return-braced-init-list, -modernize-macro-to-enum, + -modernize-pass-by-value, -readability-braces-around-statements, -readability-function-cognitive-complexity, -readability-identifier-length,