| commit | cf8ec8dad61c09a5b5bfd0738c0484788b1e9e3f | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Apr 02 18:40:40 2012 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Apr 02 18:40:40 2012 +0000 |
| tree | 2f62b106ca08fdbbb5a587c64ee0b442c795cc87 | |
| parent | f208af02a47088f53a7f2a45e828fac2181b5add [diff] |
Implement DR1402: if a field or base class is not movable, the derived class's move constructor/move assignment operator are not declared, rather than being defined as deleted, so move operations on the derived class fall back to copying rather than moving. If a move operation on the derived class is explicitly defaulted, the unmovable subobject will be copied instead of being moved. llvm-svn: 153883