summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-02 18:40:40 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-02 18:40:40 +0000
commit1c931be1873f8c20cdcb5060c84570cd3359aa02 (patch)
tree886c500aa195ae79f93bda1ccc8dceeac6321190 /include
parent582b395ea4d5dfe353e2132a470d39efe2f84a54 (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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153883 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td
index 863f9db164..10b3819396 100644
--- a/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/include/clang/Basic/DiagnosticSemaKinds.td
@@ -2852,9 +2852,6 @@ def note_deleted_copy_user_declared_move : Note<
def note_deleted_assign_field : Note<
"%select{copy|move}0 assignment operator of %0 is implicitly deleted "
"because field %1 is of %select{reference|const-qualified}3 type %2">;
-def note_deleted_move_assign_virtual_base : Note<
- "move assignment operator of %0 is implicitly deleted because it has a "
- "virtual base class %1">;
// This should eventually be an error.
def warn_undefined_internal : Warning<