]> granicus.if.org Git - clang/commitdiff
[docs] List correct default for -ftemplate-depth; also add missing
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Jul 2018 00:34:54 +0000 (00:34 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Jul 2018 00:34:54 +0000 (00:34 +0000)
documentation for -fconstexpr-steps.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336747 91177308-0d34-0410-b5e6-96231b3b80d8

docs/UsersManual.rst

index b1c286193cf96c5705148522d9db85d16d736adc..4470dab947fd7eec4a476522062ae8379ccb663b 100644 (file)
@@ -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