[clang] 08a72cb - [clang] Bump up DIAG_SIZE_SEMA by 500 for downstream diagnostics.

Lang Hames via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 2 00:29:15 PDT 2024


Author: Lang Hames
Date: 2024-09-02T17:29:07+10:00
New Revision: 08a72cbd6b12b5ccffb82c657bd668938f1b42e1

URL: https://github.com/llvm/llvm-project/commit/08a72cbd6b12b5ccffb82c657bd668938f1b42e1
DIFF: https://github.com/llvm/llvm-project/commit/08a72cbd6b12b5ccffb82c657bd668938f1b42e1.diff

LOG: [clang] Bump up DIAG_SIZE_SEMA by 500 for downstream diagnostics.

Recently added HLSL diagnostics (89fb8490a99e) pushed the Swift compiler over
the existing limit.

rdar://135126738

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 bce7605b95ba43..8b976bdac6dc51 100644
--- a/clang/include/clang/Basic/DiagnosticIDs.h
+++ b/clang/include/clang/Basic/DiagnosticIDs.h
@@ -39,7 +39,7 @@ namespace clang {
       DIAG_SIZE_AST           =  300,
       DIAG_SIZE_COMMENT       =  100,
       DIAG_SIZE_CROSSTU       =  100,
-      DIAG_SIZE_SEMA          = 4500,
+      DIAG_SIZE_SEMA          = 5000,
       DIAG_SIZE_ANALYSIS      =  100,
       DIAG_SIZE_REFACTORING   = 1000,
       DIAG_SIZE_INSTALLAPI    =  100,


        


More information about the cfe-commits mailing list