diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-05-06 23:27:55 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-05-06 23:27:55 +0000 |
commit | f08aa62c80df79cb1cb34e34b6140b9f7dba4204 (patch) | |
tree | 4910143865480d8281e2da7c8feeeebf3f4a6284 /clang/lib/Sema/SemaDecl.cpp | |
parent | 39b480cea0749a5b7ce17db642ef9068d8fd54d8 (diff) | |
download | bcm5719-llvm-f08aa62c80df79cb1cb34e34b6140b9f7dba4204.tar.gz bcm5719-llvm-f08aa62c80df79cb1cb34e34b6140b9f7dba4204.zip |
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
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 69989b131df..ea6913769a8 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -714,7 +714,6 @@ bool Sema::MergeFunctionDecl(FunctionDecl *New, Decl *OldD) { (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) { // The old declaration provided a function prototype, but the // new declaration does not. Merge in the prototype. - assert(!OldProto->hasExceptionSpec() && "Exception spec in C"); llvm::SmallVector<QualType, 16> ParamTypes(OldProto->arg_type_begin(), OldProto->arg_type_end()); NewQType = Context.getFunctionType(NewFuncType->getResultType(), |