diff options
-rw-r--r-- | meson/suppressions/meson.build | 1 | ||||
-rw-r--r-- | src/.clang-tidy | 2 | ||||
-rw-r--r-- | test/.clang-tidy | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index ed7ec57b..20410def 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -20,6 +20,7 @@ if is_variable('cc') '-Wno-cast-align', '-Wno-cast-qual', '-Wno-conversion', + '-Wno-declaration-after-statement', '-Wno-double-promotion', '-Wno-format-nonliteral', '-Wno-nullability-extension', diff --git a/src/.clang-tidy b/src/.clang-tidy index b47291f2..44d02929 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -9,6 +9,7 @@ Checks: > -bugprone-suspicious-string-compare, -cert-dcl37-c, -cert-dcl51-cpp, + -cert-err33-c, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -concurrency-mt-unsafe, -google-readability-todo, @@ -18,6 +19,7 @@ Checks: > -llvmlibc-*, -misc-no-recursion, -readability-function-cognitive-complexity, + -readability-identifier-length, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file diff --git a/test/.clang-tidy b/test/.clang-tidy index 539d0b59..7ffba27b 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -5,6 +5,7 @@ Checks: > -altera-*, -android-cloexec-fopen, -bugprone-easily-swappable-parameters, + -cert-err33-c, -clang-analyzer-nullability.NullabilityBase, -clang-analyzer-nullability.NullableDereferenced, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, @@ -12,6 +13,7 @@ Checks: > -hicpp-signed-bitwise, -llvmlibc-*, -readability-function-cognitive-complexity, + -readability-identifier-length, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file |