================
@@ -376,6 +376,7 @@ LANGOPT(ConstexprCallDepth, 32, 512, Benign,
"maximum constexpr call depth")
LANGOPT(ConstexprStepLimit, 32, 1048576, Benign,
"maximum constexpr evaluation steps")
+LANGOPT(MaxTemplateForExpansions, 32, 256, Benign, "maximum template for
expansions")
LANGOPT(EnableNewConstInterp, 1, 0, Benign,
----------------
cor3ntin wrote:
I am not sure we need a limit here - we are constrained by the number of
statements, the number of expansions, etc. And all of these things should be
consistent
https://github.com/llvm/llvm-project/pull/165195
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits