diff options
author | David Robillard <d@drobilla.net> | 2024-07-17 07:31:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-07-17 07:31:13 -0400 |
commit | b2d78db908f35d963c84bcbe697f9cf9943019a8 (patch) | |
tree | f4a16dd4e8a1abcf43212023099f67d3d5b19fa0 /test | |
parent | 9097952a918f8330a5db9039ad390fc2457f841d (diff) | |
download | raul-b2d78db908f35d963c84bcbe697f9cf9943019a8.tar.gz raul-b2d78db908f35d963c84bcbe697f9cf9943019a8.tar.bz2 raul-b2d78db908f35d963c84bcbe697f9cf9943019a8.zip |
Suppress new warnings in clang and clang-tidy 18
Diffstat (limited to 'test')
-rw-r--r-- | test/.clang-tidy | 3 | ||||
-rw-r--r-- | test/headers/.clang-tidy | 1 | ||||
-rw-r--r-- | test/meson.build | 1 |
3 files changed, 4 insertions, 1 deletions
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 <d@drobilla.net> +# Copyright 2020-2024 David Robillard <d@drobilla.net> # 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', ] |