[clang] [clang] increase default constexpr step limit (PR #143785)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 11 14:23:18 PDT 2025


================
@@ -3992,7 +3992,7 @@ Controlling implementation limits
   Sets the limit for the number of full-expressions evaluated in a single
   constant expression evaluation. This also controls the maximum size
   of array and dynamic array allocation that can be constant evaluated.
-  The default is 1048576.
+  The default is 20000000.
----------------
Sirraide wrote:

Er, not sure that’s going to work too well in RST (but I don’t actually know; I don’t know much about RST candidly...), and typographically it would be rather unusual since this isn’t really code.

Actually, does RST have a non-breaking space? If so I’d recommend using that.

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


More information about the cfe-commits mailing list