[clang] [clang][NFC] Bump the maximum number of Sema diagnostics (PR #200948)

Jake Daly via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 07:55:38 PDT 2026


https://github.com/jakemdaly updated https://github.com/llvm/llvm-project/pull/200948

>From 5721622ef6e662f99bada50382d16dd9b487f638 Mon Sep 17 00:00:00 2001
From: Jake Daly <jake.daly at ymail.com>
Date: Mon, 1 Jun 2026 14:30:49 -0700
Subject: [PATCH] Bump DIAG_SIZE_SEMA

---
 clang/include/clang/Basic/DiagnosticIDs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Basic/DiagnosticIDs.h b/clang/include/clang/Basic/DiagnosticIDs.h
index 47f63933e1e2f..63b5e6a28aac0 100644
--- a/clang/include/clang/Basic/DiagnosticIDs.h
+++ b/clang/include/clang/Basic/DiagnosticIDs.h
@@ -43,7 +43,7 @@ enum {
   DIAG_SIZE_AST = 300,
   DIAG_SIZE_COMMENT = 100,
   DIAG_SIZE_CROSSTU = 100,
-  DIAG_SIZE_SEMA = 5000,
+  DIAG_SIZE_SEMA = 6000,
   DIAG_SIZE_ANALYSIS = 100,
   DIAG_SIZE_REFACTORING = 1000,
   DIAG_SIZE_INSTALLAPI = 100,



More information about the cfe-commits mailing list