]> granicus.if.org Git - clang/commit
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)
commit6821f2ace43894cbff6675022ee01ee65bf6fb15
tree49fd2bf2715417ca793780c3e3cce658dea0a097
parent7891b0c018d4703d865074f1d933b03c95cb5093
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285610 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CXX/class.derived/class.abstract/p16.cpp
test/CXX/special/class.dtor/p5-0x.cpp
test/CXX/special/class.dtor/p9.cpp