[clang] Suppress printing lambda body for constexpr diagnostics (PR #185800)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 03:22:37 PDT 2026


================
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -std=c++17 -verify=expected %s 
----------------
Fznamznon wrote:

Can we also test the new constexpr interpreter, i.e
```suggestion
// RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -std=c++17 -verify=expected %s 
// RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -std=c++17 -verify=expected %s -fexperimental-new-constant-interpreter
```


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


More information about the cfe-commits mailing list