rjmccall added a comment.
Please adjust the commit message to be clear that this is about
lifetime-extended temporaries; it's not like we got this wrong for all
temporaries.
Do we need to do anything to ensure that the after-full-expression cleanup is
configured conditionally?
Repository:
ahatanak created this revision.
ahatanak added reviewers: rsmith, rjmccall.
ahatanak added a project: clang.
Herald added subscribers: ributzka, dexonsmith, jkorous.
The temporary of the true operand shouldn't be destructed when the false
operand is evaluated and throws.
rdar://problem/64829372