commit | 88fad6310d3104e3ac4ab685227beabaa76faf7b | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sat Nov 07 00:02:45 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sat Nov 07 00:02:45 2009 +0000 |
tree | 92b10e4d68a85c740c3ca4fca472ba3ae34ee047 | |
parent | 0c8296dfb495f41d6f0de6fe1d03014ffd063674 [diff] |
Make sure isCopyAssignment is only true for actual copy assignment operators, instead of all assignment operators. The mistake messes up IRGen because it ends up assuming that the assignment operator is actually the implicit copy assignment operator, and therefore tries to emit the RHS as an lvalue. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86307 91177308-0d34-0410-b5e6-96231b3b80d8