aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy3
-rw-r--r--meson/suppressions/meson.build3
-rw-r--r--plugins/.clang-tidy1
-rw-r--r--test/headers/.clang-tidy5
4 files changed, 8 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy
index ae712c5..5279051 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -3,16 +3,17 @@
Checks: >
*,
+ -*-macro-to-enum,
-*-magic-numbers,
-altera-*,
-bugprone-assignment-in-if-condition,
+ -bugprone-casting-through-void,
-bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
-clang-diagnostic-unused-function,
-clang-diagnostic-unused-macros,
-llvmlibc-restrict-system-libc-headers,
-misc-include-cleaner,
- -modernize-macro-to-enum,
-performance-no-int-to-ptr,
-readability-identifier-length,
CheckOptions:
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index 96ff2ab..9d9a38a 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -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
# Project-specific warning suppressions
@@ -29,6 +29,7 @@ if is_variable('cc')
'-Wno-reserved-id-macro',
'-Wno-shorten-64-to-32',
'-Wno-sign-conversion',
+ '-Wno-switch-default',
'-Wno-switch-enum',
'-Wno-unsafe-buffer-usage',
]
diff --git a/plugins/.clang-tidy b/plugins/.clang-tidy
index 5fc86ab..44bac70 100644
--- a/plugins/.clang-tidy
+++ b/plugins/.clang-tidy
@@ -5,6 +5,7 @@ Checks: >
-*-narrowing-conversions,
-bugprone-assignment-in-if-condition,
-bugprone-easily-swappable-parameters,
+ -bugprone-multi-level-implicit-pointer-conversion,
-bugprone-suspicious-realloc-usage,
-cert-err33-c,
-hicpp-signed-bitwise,
diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy
index dd0b95f..26d6f6f 100644
--- a/test/headers/.clang-tidy
+++ b/test/headers/.clang-tidy
@@ -1,15 +1,16 @@
-# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
*,
+ -*-macro-to-enum,
-*-magic-numbers,
-altera-*,
-bugprone-assignment-in-if-condition,
+ -bugprone-casting-through-void,
-bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
-llvmlibc-restrict-system-libc-headers,
- -modernize-macro-to-enum,
-performance-no-int-to-ptr,
-readability-identifier-length,
CheckOptions: