commit | 45d3d716622f12f9d8e77f2e4c8ffddf4bfe3559 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Sep 01 02:09:07 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Sep 01 02:09:07 2011 +0000 |
tree | 63053d59f73900496afc7992ef2d6f2032dc67ef | |
parent | e6b8d68a927368b06ac06cc9ac9e7f60aa966d5f [diff] |
When defining the implicit move assignment operator, don't perform semantic analysis when taking the address of an xvalue. Instead, just build the unary operator directly, since it's safe to do so (from the IRgen and AST perspectives) for any glvalue. Fixes PR10822. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138935 91177308-0d34-0410-b5e6-96231b3b80d8