From 59bcfaafcad0f3d85d33fadf21d4d0a2e6575a64 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Jul 2024 10:24:51 -0400 Subject: Suppress new warnings in clang and clang-tidy 18 --- .clang-tidy | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy index c6b7e25..ff7e030 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -4,6 +4,7 @@ Checks: > -*-avoid-goto, -*-braces-around-statements, -*-else-after-return, + -*-macro-to-enum, -*-magic-numbers, -*-member-init, -*-named-parameter, @@ -16,10 +17,12 @@ Checks: > -altera-*, -android-cloexec-fopen, -bugprone-branch-clone, + -bugprone-casting-through-void, -bugprone-easily-swappable-parameters, -bugprone-incorrect-roundings, -bugprone-integer-division, -bugprone-macro-parentheses, + -bugprone-multi-level-implicit-pointer-conversion, -bugprone-reserved-identifier, -cert-dcl21-cpp, -cert-dcl37-c, @@ -31,6 +34,7 @@ Checks: > -cert-msc50-cpp, -cert-msc51-cpp, -clang-analyzer-cplusplus.NewDeleteLeaks, + -clang-analyzer-optin.core.EnumCastOutOfRange, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -clang-analyzer-unix.Malloc, -concurrency-mt-unsafe, @@ -63,10 +67,10 @@ Checks: > -misc-non-private-member-variables-in-classes, -misc-use-anonymous-namespace, -modernize-loop-convert, - -modernize-macro-to-enum, -modernize-raw-string-literal, -modernize-use-trailing-return-type, -modernize-use-using, + -performance-enum-size, -performance-faster-string-find, -readability-const-return-type, -readability-container-size-empty, @@ -75,6 +79,8 @@ Checks: > -readability-implicit-bool-conversion, -readability-inconsistent-declaration-parameter-name, -readability-make-member-function-const, + -readability-redundant-casting, + -readability-redundant-inline-specifier, -readability-simplify-boolean-expr, WarningsAsErrors: '*' HeaderFilterRegex: '.*' -- cgit v1.2.1