[clang] [clang] introduce constexpr step limit opt-out (PR #160440)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 8 08:26:08 PDT 2025
================
@@ -4028,7 +4028,7 @@ Controlling implementation limits
Sets the limit for the number of full-expressions evaluated in a single
constant expression evaluation. This also controls the maximum size
of array and dynamic array allocation that can be constant evaluated.
- The default is 1048576.
+ The default is 1048576, and the limit can be disabled with `-fconstexpr-steps=0`..
----------------
AaronBallman wrote:
```suggestion
The default is 1048576, and the limit can be disabled with `-fconstexpr-steps=0`.
```
Removes an accidental extra full stop at the end of the sentence.
https://github.com/llvm/llvm-project/pull/160440
More information about the cfe-commits
mailing list