From c3baa9a4f670f3a54b6c8b34ab5bea44ab401d9c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 16 Jul 2024 22:14:45 -0400 Subject: Suppress new warnings in clang and clang-tidy 18 --- src/.clang-tidy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/.clang-tidy') diff --git a/src/.clang-tidy b/src/.clang-tidy index 0673649..6fc648d 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -1,4 +1,4 @@ -# Copyright 2020-2022 David Robillard +# Copyright 2020-2024 David Robillard # SPDX-License-Identifier: 0BSD OR ISC Checks: > @@ -7,6 +7,7 @@ Checks: > -bugprone-narrowing-conversions, -cert-err33-c, -cert-err34-c, + -clang-analyzer-optin.core.EnumCastOutOfRange, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -clang-analyzer-valist.Uninitialized, -concurrency-mt-unsafe, @@ -16,6 +17,8 @@ Checks: > -hicpp-signed-bitwise, -llvm-header-guard, -performance-no-int-to-ptr, + -readability-avoid-nested-conditional-operator, -readability-function-cognitive-complexity, + -readability-redundant-casting, -readability-suspicious-call-argument, InheritParentConfig: true -- cgit v1.2.1