Commit 34405b41 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[CodeGen][ObjC] Destroy callee-destroyed arguments in the caller

function when the receiver is nil

Callee-destroyed arguments to a method have to be destroyed in the
caller function when the receiver is nil as the method doesn't get
executed. This fixes PR48207.

rdar://71808391

Differential Revision: https://reviews.llvm.org/D93273
parent cf8f682c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment