[clang] [CIR] Add support for ternary operator as lvalue (PR #163580)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 15:16:32 PDT 2025


================
@@ -1,8 +1,8 @@
-// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -fexceptions -fcxx-exceptions -emit-cir %s -o %t.cir
----------------
andykaylor wrote:

Maybe move the throw cases to a separate test so we don't have to compile all of this with exceptions enabled?

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


More information about the cfe-commits mailing list