commit | 203050c2d5413c3f7e18dfa39451bf6f954136ca | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Oct 04 23:59:32 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Oct 04 23:59:32 2011 +0000 |
tree | bd4f8d6bf7b305484e61cf49f2a89259fee9500e | |
parent | cbb7add8d7e3f868a6695a601e45fc13257bd9f5 [diff] |
Don't allow an rvalue reference to bind to the result of a calling a conversion function whose result type is an lvalue reference. The initialization code already handled this properly, but overload resolution was allowing the binding. Fixes PR11003 / <rdar://problem/10233078>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141137 91177308-0d34-0410-b5e6-96231b3b80d8