From b2d78db908f35d963c84bcbe697f9cf9943019a8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Jul 2024 07:31:13 -0400 Subject: Suppress new warnings in clang and clang-tidy 18 --- test/.clang-tidy | 3 ++- test/headers/.clang-tidy | 1 + test/meson.build | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/.clang-tidy b/test/.clang-tidy index 0004d61..cee9dd2 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -1,4 +1,4 @@ -# Copyright 2020-2023 David Robillard +# Copyright 2020-2024 David Robillard # SPDX-License-Identifier: 0BSD OR GPL-3.0-or-later Checks: > @@ -11,4 +11,5 @@ Checks: > -hicpp-signed-bitwise, -modernize-make-unique, -readability-function-cognitive-complexity, + -readability-redundant-member-init, InheritParentConfig: true diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy index 08abd38..125a043 100644 --- a/test/headers/.clang-tidy +++ b/test/headers/.clang-tidy @@ -22,6 +22,7 @@ Checks: > -hicpp-no-array-decay, -llvmlibc-*, -modernize-use-trailing-return-type, + -performance-enum-size, -readability-identifier-length, -readability-implicit-bool-conversion, CheckOptions: diff --git a/test/meson.build b/test/meson.build index 2b30cd0..e319a9d 100644 --- a/test/meson.build +++ b/test/meson.build @@ -37,6 +37,7 @@ if cpp.get_id() == 'clang' '-Wno-c++17-extensions', '-Wno-c++98-compat', '-Wno-padded', + '-Wno-switch-default', '-Wno-unsafe-buffer-usage', '-Wno-weak-vtables', ] -- cgit v1.2.1