]> granicus.if.org Git - clang/commit
Mark inheriting constructors as deleted if the corresponding defaulted default
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 29 Jun 2016 01:10:27 +0000 (01:10 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 29 Jun 2016 01:10:27 +0000 (01:10 +0000)
commit071180678d2add49ebfe64e5d6625fe01b235302
tree800f4b819611d52a74c947507e7d7073c4aa2353
parent4b198a3e5528b60caf126252624cc59353768e2c
Mark inheriting constructors as deleted if the corresponding defaulted default
constructor would be; this is effectively required by P0136R1. This has the
effect of exposing the validity of the base class initialization steps to
SFINAE checks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274088 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaInit.cpp
test/CXX/drs/dr15xx.cpp
test/CXX/special/class.init/class.inhctor.init/p1.cpp
test/SemaCXX/cxx11-inheriting-ctors.cpp