]> granicus.if.org Git - clang/commit
Issue a diagnostic if an implicitly-defined move assignment operator would move
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 4 Nov 2013 04:26:14 +0000 (04:26 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 4 Nov 2013 04:26:14 +0000 (04:26 +0000)
commit33b1f634e074835a1b49c23d2b7674161fef1762
treed9df8b213058be65a93e7078847d8d6881d42be7
parent1b416051a376f74af67cd2a2b8e45ea31fac0a90
Issue a diagnostic if an implicitly-defined move assignment operator would move
the same virtual base class multiple times (and the move assignment is used,
and the move assignment for the virtual base is not trivial).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193977 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/CXX/special/class.copy/implicit-move-def.cpp
test/CXX/special/class.copy/implicit-move.cpp