diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-06-22 16:12:01 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-06-22 16:12:01 +0000 |
| commit | d7b23167763f43d3e76b0de26141b1e52613ee3c (patch) | |
| tree | 71644c427688cfee6c871d4b65502cb81fbe0964 /lib/CodeGen/CGExprAgg.cpp | |
| parent | b4b7b5034bb8304ed03416635bf64c75c39889fc (diff) | |
| download | clang-d7b23167763f43d3e76b0de26141b1e52613ee3c.tar.gz clang-d7b23167763f43d3e76b0de26141b1e52613ee3c.tar.bz2 clang-d7b23167763f43d3e76b0de26141b1e52613ee3c.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
