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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 16:11:17 PDT 2025


================
@@ -1944,13 +1894,18 @@ void cir::TernaryOp::build(
   result.addOperands(cond);
   OpBuilder::InsertionGuard guard(builder);
   Region *trueRegion = result.addRegion();
-  Block *block = builder.createBlock(trueRegion);
+  Block *trueBlock = builder.createBlock(trueRegion);
----------------
erichkeane wrote:

FYI: Linux CI failure is apparently this too!   Compiling with WError.

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


More information about the cfe-commits mailing list