commit | 044c8aa39d582ebc6bca1720c65ddd06fb27780c | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Nov 13 00:54:12 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Nov 13 00:54:12 2012 +0000 |
tree | 0a83266368cc275bf32a755e11b708ee1f6b4176 | |
parent | d449c792d98f58277e02c0ddc8330cd9de5f82f5 [diff] |
Fix some wrong-code bugs in implicitly-defined assignment operators: - In C++11, perform overload resolution over all assignment operators, rather than just looking for copy/move assignment operators. - Clean up after temporaries produced by operator= immediately, rather than accumulating them until the end of the function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167798 91177308-0d34-0410-b5e6-96231b3b80d8