aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-01 17:42:26 -0400
committerDavid Robillard <d@drobilla.net>2024-10-01 17:42:26 -0400
commit676312f757ab666fbfa459d7ec562ba4168e771b (patch)
treee4592f4a88694434e13d0f148b08476529d5cf6c /test
parentfed2de072f1d0ce59971c4da228bd5f057274c6e (diff)
downloadpugl-676312f757ab666fbfa459d7ec562ba4168e771b.tar.gz
pugl-676312f757ab666fbfa459d7ec562ba4168e771b.tar.bz2
pugl-676312f757ab666fbfa459d7ec562ba4168e771b.zip
Suppress new warnings in clang and clang-tidy 18
Diffstat (limited to 'test')
-rw-r--r--test/.clang-tidy4
-rw-r--r--test/test_timer.c2
2 files changed, 4 insertions, 2 deletions
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 <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# 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 <stdint.h>
#include <stdio.h>
-#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;