[clang] [clang][NFC] Remove unused diagnostic (PR #181790)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 17 01:13:13 PST 2026


https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/181790

None

>From 49902ef0ed9311cb9188bc773ade339aa3b83c62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Tue, 17 Feb 2026 10:12:18 +0100
Subject: [PATCH] [clang][NFC] Remove unused diagnostic

---
 clang/include/clang/Basic/DiagnosticASTKinds.td | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/clang/include/clang/Basic/DiagnosticASTKinds.td b/clang/include/clang/Basic/DiagnosticASTKinds.td
index f36c02851a6a1..5446c0d89597b 100644
--- a/clang/include/clang/Basic/DiagnosticASTKinds.td
+++ b/clang/include/clang/Basic/DiagnosticASTKinds.td
@@ -404,10 +404,8 @@ def note_constexpr_infer_alloc_token_type_inference_failed : Note<
   "could not infer allocation type for __builtin_infer_alloc_token">;
 def note_constexpr_infer_alloc_token_no_metadata : Note<
   "could not get token metadata for inferred type">;
-def note_constexpr_infer_alloc_token_stateful_mode : Note<
-  "stateful alloc token mode not supported in constexpr">;
-def err_experimental_clang_interp_failed : Error<
-  "the experimental clang interpreter failed to evaluate an expression">;
+def note_constexpr_infer_alloc_token_stateful_mode
+    : Note<"stateful alloc token mode not supported in constexpr">;
 
 def warn_attribute_needs_aggregate : Warning<
   "%0 attribute is ignored in non-aggregate type %1">,



More information about the cfe-commits mailing list