commit | 33fd1fc1814a5573c972840d49317989e20deace | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Mar 24 23:14:04 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Mar 24 23:14:04 2010 +0000 |
tree | fdfb07130c655a121ebccb0b5d1387e56aec74f1 | |
parent | f3eaf45bf3ebef039c99c1e9efb05b477b2a07aa [diff] |
When returning from a function that has a reference return type, use EmitReferenceBindingToExpr() rather than assuming we have an lvalue. This is just the lowest hanging fruit for PR6024, which still requires a bit of work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99447 91177308-0d34-0410-b5e6-96231b3b80d8