diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-15 15:29:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-15 15:29:30 +0000 |
commit | 2d9eb21325a0854e86de7344f54a8e6cef2a97ad (patch) | |
tree | ee3f61717e10dcfab1b085808c0bceb7a66cbf9b /lib/CodeGen/CodeGenFunction.h | |
parent | 037ad1b8f00b80aa76e73e3118133e9a59fd177e (diff) |
Teach the CFG builder how to properly destroy temporaries who
lifetimes have been extended via reference binding. The type of the
reference and the type of the temporary are not necessarily the same,
which could cause a crash. Fixes <rdar://problem/10398199>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions