[clang] 92b8ed6 - Correct documentation for -fconstexpr-depth=
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue May 16 10:42:34 PDT 2023
Author: Aaron Ballman
Date: 2023-05-16T13:42:25-04:00
New Revision: 92b8ed6e5e5dc921c611eae4160570f169657030
URL: https://github.com/llvm/llvm-project/commit/92b8ed6e5e5dc921c611eae4160570f169657030
DIFF: https://github.com/llvm/llvm-project/commit/92b8ed6e5e5dc921c611eae4160570f169657030.diff
LOG: Correct documentation for -fconstexpr-depth=
We were documenting that this was about recursive calls when it's
actually about arbitrary calls.
e.g., https://godbolt.org/z/en8sYd77E
Added:
Modified:
clang/docs/UsersManual.rst
Removed:
################################################################################
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst
index 0a568f3c99d6..65d1eaaed53c 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/docs/UsersManual.rst
@@ -3294,8 +3294,7 @@ Controlling implementation limits
.. option:: -fconstexpr-depth=N
- Sets the limit for recursive constexpr function invocations to N. The
- default is 512.
+ Sets the limit for constexpr function invocations to N. The default is 512.
.. option:: -fconstexpr-steps=N
More information about the cfe-commits
mailing list