[clang] [clang] Improve diagnostics around constexpr limits (PR #212091)
Yihan Wang via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 20:33:27 PDT 2026
================
@@ -170,7 +170,7 @@ def note_constexpr_depth_limit_exceeded : Note<
def note_constexpr_call_limit_exceeded : Note<
"constexpr evaluation hit maximum call limit">;
def note_constexpr_step_limit_exceeded : Note<
- "constexpr evaluation hit maximum step limit; possible infinite loop?">;
+ "constexpr evaluation hit maximum step limit of %0; possible infinite loop?">;
----------------
yronglin wrote:
sorry, it's a typo, I have updated the comments.
https://github.com/llvm/llvm-project/pull/212091
More information about the cfe-commits
mailing list