aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-04 12:18:37 -0400
committerDavid Robillard <d@drobilla.net>2024-06-04 12:18:37 -0400
commitb134569961ad7f73dc280126231bc5eebb1f6344 (patch)
treefb65a5e15f969f37225c23477978d481180d0f1c
parent59e77405df9a3af3ccfdd9b3d26f6a43ef922dc5 (diff)
downloadserd-b134569961ad7f73dc280126231bc5eebb1f6344.tar.gz
serd-b134569961ad7f73dc280126231bc5eebb1f6344.tar.bz2
serd-b134569961ad7f73dc280126231bc5eebb1f6344.zip
Suppress new warnings in clang-tidy 17
-rw-r--r--.clang-tidy3
-rw-r--r--src/.clang-tidy3
-rw-r--r--test/.clang-tidy3
3 files changed, 6 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 92f53054..a3432834 100644
--- a/.clang-tidy
+++ b/.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 ISC
Checks: >
@@ -8,6 +8,7 @@ Checks: >
-bugprone-suspicious-realloc-usage,
-clang-diagnostic-unused-macros,
-llvmlibc-*,
+ -misc-include-cleaner,
-readability-identifier-length,
FormatStyle: file
HeaderFilterRegex: '.*/serd/.*\.h'
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 638041cc..b6882d38 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -1,9 +1,10 @@
-# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
-*-magic-numbers,
-bugprone-easily-swappable-parameters,
+ -bugprone-switch-missing-default-case,
-cert-err33-c,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-valist.Uninitialized,
diff --git a/test/.clang-tidy b/test/.clang-tidy
index 9710cb77..75f5312d 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -1,9 +1,10 @@
-# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
-*-magic-numbers,
-android-cloexec-fopen,
+ -bugprone-assert-side-effect,
-bugprone-easily-swappable-parameters,
-cert-err33-c,
-clang-analyzer-nullability.NullableDereferenced,