[clang] [Clang][Sema] fix crash in codegen stage when an lambda expression declared in an unevaluated context (PR #80802)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 02:17:50 PST 2024


================
@@ -0,0 +1,11 @@
+// RUN: %clang_cc1 -verify -std=c++20 -emit-llvm -o - %s
----------------
Fznamznon wrote:

I wonder if `-verify` flag is necessary? There is no diagnostics expected, and the test makes sure LLVM IR generation doesn't crash even without `-verify` flag.

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


More information about the cfe-commits mailing list