| commit | 24f2e8ec002a5b0ffaa0fb068b0b36f09d998771 | [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 | e28939388b2786c287a6dc2e30ab690eb72249ae | |
| parent | d412fe598be2a31380280fb9012f8876fb099e52 [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. llvm-svn: 123952