r336747 - [docs] List correct default for -ftemplate-depth; also add missing

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 10 17:34:54 PDT 2018


Author: rsmith
Date: Tue Jul 10 17:34:54 2018
New Revision: 336747

URL: http://llvm.org/viewvc/llvm-project?rev=336747&view=rev
Log:
[docs] List correct default for -ftemplate-depth; also add missing
documentation for -fconstexpr-steps.

Modified:
    cfe/trunk/docs/UsersManual.rst

Modified: cfe/trunk/docs/UsersManual.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.rst?rev=336747&r1=336746&r2=336747&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.rst (original)
+++ cfe/trunk/docs/UsersManual.rst Tue Jul 10 17:34:54 2018
@@ -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
 




More information about the cfe-commits mailing list