Author: Tony Varghese
Date: 2026-07-20T09:04:19+05:30
New Revision: 8a119310dae2fd67497c8611fc3208d16a36a2c3

URL: 
https://github.com/llvm/llvm-project/commit/8a119310dae2fd67497c8611fc3208d16a36a2c3
DIFF: 
https://github.com/llvm/llvm-project/commit/8a119310dae2fd67497c8611fc3208d16a36a2c3.diff

LOG: [clang][NFC] Bump the maximum number of Frontend diagnostics (#210345)

The number of Frontend diagnostics in DiagnosticFrontendKinds.td is
close to the DIAG_SIZE_FRONTEND limit of 200 (195 in use), and in-flight
PRs adding frontend diagnostics (e.g. #187986) run into the static
assert in DiagnosticIDs.cpp. Increase the limit to 300, following the
precedent of #200948 which did the same for Sema diagnostics.

Co-authored-by: Tony Varghese <[email protected]>

Added: 
    

Modified: 
    clang/include/clang/Basic/DiagnosticIDs.h

Removed: 
    


################################################################################
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,


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to