From 869038e36258798d54f4c47b5ee9bf2c33b7f86a Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 11 Jul 2018 00:34:54 +0000 Subject: [PATCH] [docs] List correct default for -ftemplate-depth; also add missing documentation for -fconstexpr-steps. llvm-svn: 336747 --- clang/docs/UsersManual.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst index b1c2861..4470dab 100644 --- a/clang/docs/UsersManual.rst +++ b/clang/docs/UsersManual.rst @@ -2116,10 +2116,15 @@ Controlling implementation limits Sets the limit for recursive constexpr function invocations to N. The default is 512. +.. option:: -fconstexpr-steps=N + + Sets the limit for the number of full-expressions evaluated in a single + constant expression evaluation. The default is 1048576. + .. option:: -ftemplate-depth=N Sets the limit for recursively nested template instantiations to N. The - default is 256. + default is 1024. .. option:: -foperator-arrow-depth=N -- 2.7.4