commit | b2855ad68d93824faf47c09bbef90ba74157f0f4 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Jan 21 00:52:42 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Jan 21 00:52:42 2011 +0000 |
tree | f97eb5557e3ec55a462d4b776e7f712c4458ddda | |
parent | 564cb06b1f010ab3c5e316ac79ba6cfdd72e9c1d [diff] |
More work to bring reference binding up to the latest C++0x specification. In particular, an rvalue reference can bind to an initializer expression that is an lvalue if the referent type and the initializer expression type are not reference-related. This is a newer formulation to the previous "rvalue references can never bind to lvalues" rule. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123952 91177308-0d34-0410-b5e6-96231b3b80d8