aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMorris Hafner <mmha@users.noreply.github.com>2025-10-21 00:18:43 +0700
committerGitHub <noreply@github.com>2025-10-21 00:18:43 +0700
commitbabecd41a84e182584da240d49f3405c25fbac8c (patch)
tree7f5f1377da9ec9e078d6b84de507026ce3b2a647 /clang/lib/CodeGen/CodeGenModule.cpp
parent725a2971762a82d4b1213185570f5e3e8701b2bc (diff)
downloadllvm-babecd41a84e182584da240d49f3405c25fbac8c.zip
llvm-babecd41a84e182584da240d49f3405c25fbac8c.tar.gz
llvm-babecd41a84e182584da240d49f3405c25fbac8c.tar.bz2
[CIR] Add support for ternary operator as lvalue (#163580)
Added support for ConditionalOperator, BinaryConditionalOperator and OpaqueValueExpr as lvalue. Implemented support for ternary operators with one branch being a throw expression. This required weakening the requirement that the true and false regions of the ternary operator must terminate with a `YieldOp`. Instead the true and false regions are now allowed to terminate with an `UnreachableOp` and no `YieldOp` gets emitted when the block throws.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions