commit | d7b23167763f43d3e76b0de26141b1e52613ee3c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jun 22 16:12:01 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jun 22 16:12:01 2011 +0000 |
tree | 71644c427688cfee6c871d4b65502cb81fbe0964 | |
parent | b4b7b5034bb8304ed03416635bf64c75c39889fc [diff] |
When binding a reference to an Automatic Reference Counting temporary, retain/release the temporary object appropriately. Previously, we would only perform the retain/release operations when the reference would extend the lifetime of the temporary, but this does the wrong thing across calls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133620 91177308-0d34-0410-b5e6-96231b3b80d8