Back out r70506 (exception spec in AST) again. We won't have exception specs until we've had a lot more discussion.
llvm-svn: 71125
This commit is contained in:
@@ -995,9 +995,6 @@ void Sema::AddImplicitlyDeclaredMembersToClass(CXXRecordDecl *ClassDecl) {
|
||||
QualType ClassType = Context.getTypeDeclType(ClassDecl);
|
||||
ClassType = Context.getCanonicalType(ClassType);
|
||||
|
||||
// FIXME: Implicit declarations have exception specifications, which are
|
||||
// the union of the specifications of the implicitly called functions.
|
||||
|
||||
if (!ClassDecl->hasUserDeclaredConstructor()) {
|
||||
// C++ [class.ctor]p5:
|
||||
// A default constructor for a class X is a constructor of class X
|
||||
|
||||
Reference in New Issue
Block a user