[PATCH] D61389: Bump DIAG_SIZE_SEMA up to 4000

Dan Gohman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 1 10:28:24 PDT 2019


sunfish created this revision.
sunfish added a reviewer: aaron.ballman.
Herald added a subscriber: aheejin.
Herald added a project: clang.

https://reviews.llvm.org/D59520 adds a few new diagnostics, which happens to run into a limit with DIAG_SIZE_SEMA. As suggested here <https://reviews.llvm.org/D59520#inline-544385>, here's a separate patch to bump the limit from 3500 to 4000.


Repository:
  rC Clang

https://reviews.llvm.org/D61389

Files:
  include/clang/Basic/DiagnosticIDs.h


Index: include/clang/Basic/DiagnosticIDs.h
===================================================================
--- include/clang/Basic/DiagnosticIDs.h
+++ include/clang/Basic/DiagnosticIDs.h
@@ -36,7 +36,7 @@
       DIAG_SIZE_AST           =  150,
       DIAG_SIZE_COMMENT       =  100,
       DIAG_SIZE_CROSSTU       =  100,
-      DIAG_SIZE_SEMA          = 3500,
+      DIAG_SIZE_SEMA          = 4000,
       DIAG_SIZE_ANALYSIS      =  100,
       DIAG_SIZE_REFACTORING   = 1000,
     };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61389.197586.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190501/6dc25166/attachment.bin>


More information about the cfe-commits mailing list