From 96bf319a38f43bdbc9ee39e3f719bc70ecdc7993 Mon Sep 17 00:00:00 2001 From: Siddhartha Menon Date: Thu, 9 Apr 2026 11:41:28 +0100 Subject: [PATCH] fix: Remove deprecated clang-tidy config option The option `AnalyzeTemporaryDtors` has been deprecated since `clang-tidy` version 16 and was removed in version 18. As a result, this config option will throw errors with newer versions of these tools while not providing any practical benefit. Change-Id: I096407f9dc41e4564a4fc89f5a9f39a834b5e20a Signed-off-by: Siddhartha Menon --- .clang-tidy | 1 - REUSE.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index b0d22e5f99..24f4fc4a11 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -2,7 +2,6 @@ Checks: 'clang-diagnostic-*,*,-llvm-include-order,clang-analyzer-*,-abseil-*,-fuchsia-*,-bugprone-*,-hicpp-*,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cert-err58-cpp,-cppcoreguidelines-pro-type-reinterpret-cast,-google-runtime-references,-google-build-using-namespace,-readability-redundant-member-init,-readability-redundant-declaration,-readability-else-after-return,-performance-type-promotion-in-math-fn,-cert-err60-cpp,-cppcoreguidelines-narrowing-conversions,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-readability-named-parameter,-readability-implicit-bool-conversion,-readability-uppercase-literal-suffix,-clang-analyzer-optin.cplusplus.VirtualCall,-cppcoreguidelines-macro-usage' WarningsAsErrors: '' HeaderFilterRegex: '' -AnalyzeTemporaryDtors: false CheckOptions: - key: cert-dcl16-c.IgnoreMacros value: '1' diff --git a/REUSE.toml b/REUSE.toml index d28e66468f..c3b6aaeb0f 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -38,7 +38,7 @@ path = [ ".clang-tidy", "SECURITY.md" ] -SPDX-FileCopyrightText = "2020 Arm Limited" +SPDX-FileCopyrightText = "2020, 2026 Arm Limited" SPDX-License-Identifier = "MIT" [[annotations]]