[clang] [Clang][Sema] Error message refers to `__begin1` with `constexpr` variable in range-based for loop (PR #218145)

Shengxin Pei via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 23 08:16:43 PDT 2026


================
@@ -0,0 +1,87 @@
+// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
----------------
TPPPP72 wrote:

As I recall, we have test files for `constexpr-for`; you can simply move those tests over.

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


More information about the cfe-commits mailing list