Fix mishandling of deletedness for assignment operators of classes with
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 31 Aug 2016 20:37:39 +0000 (20:37 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 31 Aug 2016 20:37:39 +0000 (20:37 +0000)
commit0786d5b9e6a24f5194ed3e988c865ebfb2a75896
tree87a3f43a441cefdc90e4a4d16fab6025215ab31d
parent598124296b617809244128602e616024577027ef
Fix mishandling of deletedness for assignment operators of classes with
indirect virtual bases. We don't need to be able to invoke such an assignment
operator from the derived class, and we shouldn't delete the derived assignment
op if we can't do so.

llvm-svn: 280288
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/special/class.copy/p20.cpp