When diagnosing that a defaulted function is ill-formed because it would be
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 31 Oct 2016 18:18:29 +0000 (18:18 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 31 Oct 2016 18:18:29 +0000 (18:18 +0000)
commitf3cec65d01595c0d74b5a33a6867dca786397e8f
treea5e00a569c5f52d4dba4d50b93d6df6ddd890466
parent86b1bfad0509a1ad583ad7a68160bf741dbff636
When diagnosing that a defaulted function is ill-formed because it would be
implicitly deleted and overrides a non-deleted function, explain why the
function is deleted. For PR30844.

llvm-svn: 285610
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/class.derived/class.abstract/p16.cpp
clang/test/CXX/special/class.dtor/p5-0x.cpp
clang/test/CXX/special/class.dtor/p9.cpp