]> granicus.if.org Git - clang/commit
When a special member is explicitly defaulted outside its class, and we reject
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Jan 2014 20:09:10 +0000 (20:09 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Jan 2014 20:09:10 +0000 (20:09 +0000)
commitb454a471ee33efa50fb367b2a81cd00f4e7b9ed3
treef122c6169f2252d65ee2506e6f6d4d1f376d54fd
parente8d4e21e64b8215e59261b853180dd846d873853
When a special member is explicitly defaulted outside its class, and we reject
the defaulting because it would delete the member, produce additional notes
explaining why the member is implicitly deleted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199829 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CXX/special/class.copy/p11.0x.copy.cpp
test/CXX/special/class.copy/p11.0x.move.cpp
test/SemaCXX/cxx0x-deleted-default-ctor.cpp