[clang] Increase the limit for ctor initializers (PR #239011)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 14:50:14 PST 2026


================
@@ -2648,6 +2651,18 @@ class CXXConstructorDecl final
   /// The arguments used to initialize the base or member.
   LazyCXXCtorInitializersPtr CtorInitializers;
 
+  /// FIXME: as a space-optimization for constructors we could probably make
----------------
erichkeane wrote:

I'd hope such folks would be able to do that archaeology and find the bug in the commit message?  That said, I'll see if I can grab a minute to update this comment.

Re-adding-the-assert;  Any attempt at that ends up being REALLY time consuming.  Even the 65k limit test I generated was ending up as one of the 'slowest' tests in our lit tests.  Anything 'higher' than that basically would dominate our check-clang time in anything but release build.

https://github.com/llvm/llvm-project/pull/239011


More information about the cfe-commits mailing list