[clang] [CIR] Implement handling for CXXConstructLValue expressions (PR #203402)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 12 09:27:36 PDT 2026


================
@@ -0,0 +1,73 @@
+// RUN: %clang_cc1 -std=c++03 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR
+// RUN: %clang_cc1 -std=c++03 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t-cir.ll
+// RUN: FileCheck --input-file=%t-cir.ll %s --check-prefix=LLVM
+// RUN: %clang_cc1 -std=c++03 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o %t.ll
+// RUN: FileCheck --input-file=%t.ll %s --check-prefix=LLVM
+
+// A multi-argument constructor call written with explicit type syntax produces
----------------
andykaylor wrote:

Yeah, he's probably right. The test shouldn't be too closely tied to the current Sema implementation. The point of the test is to compile this code now and after future changes. I'll fix this.

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


More information about the cfe-commits mailing list