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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user