[clang] [clang] Improve diagnostics around constexpr limits (PR #212091)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 20:23:37 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?">;
----------------
tbaederr wrote:

What does "maintain an infinite loop" mean?

https://github.com/llvm/llvm-project/pull/212091


More information about the cfe-commits mailing list