summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy5
-rw-r--r--meson/suppressions/meson.build3
2 files changed, 6 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 5b9d54d..b281245 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -4,6 +4,7 @@
Checks: >
*,
-*-else-after-return,
+ -*-macro-to-enum,
-*-magic-numbers,
-*-non-private-member-variables-in-classes,
-*-static-assert,
@@ -19,6 +20,7 @@ Checks: >
-bugprone-branch-clone,
-bugprone-copy-constructor-init,
-bugprone-easily-swappable-parameters,
+ -bugprone-multi-level-implicit-pointer-conversion,
-bugprone-narrowing-conversions,
-bugprone-reserved-identifier,
-bugprone-suspicious-include,
@@ -29,6 +31,7 @@ Checks: >
-cert-err33-c,
-cert-err34-c,
-clang-analyzer-core.uninitialized.ArraySubscript,
+ -clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-valist.Uninitialized,
-cppcoreguidelines-avoid-non-const-global-variables,
@@ -56,13 +59,13 @@ Checks: >
-misc-include-cleaner,
-misc-no-recursion,
-misc-unused-parameters,
- -modernize-macro-to-enum,
-modernize-return-braced-init-list,
-modernize-use-default-member-init,
-modernize-use-trailing-return-type,
-performance-faster-string-find,
-performance-noexcept-move-constructor,
-performance-unnecessary-value-param,
+ -readability-avoid-nested-conditional-operator,
-readability-const-return-type,
-readability-function-cognitive-complexity,
-readability-identifier-length,
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index 0dd7f2b..386d24c 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
@@ -24,6 +24,7 @@ if cc.get_id() in ['clang', 'emscripten']
'-Wno-padded',
'-Wno-reserved-id-macro',
'-Wno-sign-conversion',
+ '-Wno-switch-default',
'-Wno-switch-enum',
'-Wno-unsafe-buffer-usage',
'-Wno-unused-macros',