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 | 58df509fc0dc288f6859cd3b61ff980d364baf6d (patch) | |
tree | 83ec8750fc9ef7b24b397a85eab8f3bc37bfbcab /clang/lib/Sema/DelayedDiagnostic.cpp | |
parent | 08d0f3550a87f04fdd75e118eed163c441e2e494 (diff) | |
download | bcm5719-llvm-58df509fc0dc288f6859cd3b61ff980d364baf6d.tar.gz bcm5719-llvm-58df509fc0dc288f6859cd3b61ff980d364baf6d.zip |
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.
llvm-svn: 133620
Diffstat (limited to 'clang/lib/Sema/DelayedDiagnostic.cpp')
0 files changed, 0 insertions, 0 deletions