summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReaderDecl.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-11-04 01:48:18 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-11-04 01:48:18 +0000
commit8b86f2d4010e1c5415ff561945d621858ca81c88 (patch)
treee52e0ef0c7432c3eab40f2d6a176a16e6082a9d7 /clang/lib/Serialization/ASTReaderDecl.cpp
parent7fc270a1718ca1b654a51d83f1bdaebe747954dd (diff)
downloadbcm5719-llvm-8b86f2d4010e1c5415ff561945d621858ca81c88.tar.gz
bcm5719-llvm-8b86f2d4010e1c5415ff561945d621858ca81c88.zip
Implement final resolution of DR1402: implicitly-declared move operators that
would be deleted are still declared, but are ignored by overload resolution. Also, don't delete such members if a subobject has no corresponding move operation and a non-trivial copy. This causes us to implicitly declare move operations in more cases, but risks move-assigning virtual bases multiple times in some circumstances (a warning for that is to follow). llvm-svn: 193969
Diffstat (limited to 'clang/lib/Serialization/ASTReaderDecl.cpp')
-rw-r--r--clang/lib/Serialization/ASTReaderDecl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Serialization/ASTReaderDecl.cpp b/clang/lib/Serialization/ASTReaderDecl.cpp
index 5bcd5dca102..b8102d84173 100644
--- a/clang/lib/Serialization/ASTReaderDecl.cpp
+++ b/clang/lib/Serialization/ASTReaderDecl.cpp
@@ -1208,8 +1208,6 @@ void ASTDeclReader::ReadCXXDefinitionData(
Data.ImplicitCopyAssignmentHasConstParam = Record[Idx++];
Data.HasDeclaredCopyConstructorWithConstParam = Record[Idx++];
Data.HasDeclaredCopyAssignmentWithConstParam = Record[Idx++];
- Data.FailedImplicitMoveConstructor = Record[Idx++];
- Data.FailedImplicitMoveAssignment = Record[Idx++];
Data.NumBases = Record[Idx++];
if (Data.NumBases)
OpenPOWER on IntegriCloud