From f08aa62c80df79cb1cb34e34b6140b9f7dba4204 Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Wed, 6 May 2009 23:27:55 +0000 Subject: 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 --- clang/lib/Sema/SemaDeclCXX.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/lib/Sema/SemaDeclCXX.cpp') diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp index d385e9c0759..11a38869e15 100644 --- a/clang/lib/Sema/SemaDeclCXX.cpp +++ b/clang/lib/Sema/SemaDeclCXX.cpp @@ -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 -- cgit v1.2.3