From 676312f757ab666fbfa459d7ec562ba4168e771b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 1 Oct 2024 17:42:26 -0400 Subject: Suppress new warnings in clang and clang-tidy 18 --- test/.clang-tidy | 4 +++- test/test_timer.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/.clang-tidy b/test/.clang-tidy index 8ecb90f..c88c7b3 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -1,10 +1,12 @@ -# Copyright 2020-2023 David Robillard +# Copyright 2020-2024 David Robillard # SPDX-License-Identifier: 0BSD OR ISC Checks: > + -bugprone-multi-level-implicit-pointer-conversion, -bugprone-suspicious-include, -cert-err33-c, -cert-err34-c, + -clang-analyzer-optin.core.EnumCastOutOfRange, -google-runtime-references, -hicpp-multiway-paths-covered, -hicpp-signed-bitwise, diff --git a/test/test_timer.c b/test/test_timer.c index 1c9f281..405a5c2 100644 --- a/test/test_timer.c +++ b/test/test_timer.c @@ -19,7 +19,7 @@ #include #include -#define NUM_TIMERS 4U // NOLINT(modernize-macro-to-enum) +#define NUM_TIMERS 4U // NOLINT(*-macro-to-enum) #ifdef __APPLE__ static const double timeout = 1 / 60.0; -- cgit v1.2.1