[clang] [clang][NFC] Bump the maximum number of Frontend diagnostics (PR #210345)
Tony Varghese via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 19 19:11:52 PDT 2026
https://github.com/tonykuttai updated https://github.com/llvm/llvm-project/pull/210345
>From d417c27c0f01d11d615203b5671bd0d627bd8f82 Mon Sep 17 00:00:00 2001
From: Tony Varghese <tony.varghese at ibm.com>
Date: Fri, 17 Jul 2026 19:45:10 +0530
Subject: [PATCH] [clang][NFC] Bump the maximum number of Frontend diagnostics
The number of Frontend diagnostics in DiagnosticFrontendKinds.td is close
to the DIAG_SIZE_FRONTEND limit of 200 (195 in use). Increase the limit
to 300.
---
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 4fbf4b685b7a4..8e714efac46ae 100644
--- a/clang/include/clang/Basic/DiagnosticIDs.h
+++ b/clang/include/clang/Basic/DiagnosticIDs.h
@@ -36,7 +36,7 @@ enum class Group;
enum {
DIAG_SIZE_COMMON = 300,
DIAG_SIZE_DRIVER = 400,
- DIAG_SIZE_FRONTEND = 250,
+ DIAG_SIZE_FRONTEND = 300,
DIAG_SIZE_SERIALIZATION = 120,
DIAG_SIZE_LEX = 500,
DIAG_SIZE_PARSE = 800,
More information about the cfe-commits
mailing list