Lines Matching refs:OldProto
1787 const FunctionProtoType *OldProto = 0; in MergeFunctionDecl() local
1789 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) { in MergeFunctionDecl()
1792 assert(!OldProto->hasExceptionSpec() && "Exception spec in C"); in MergeFunctionDecl()
1793 llvm::SmallVector<QualType, 16> ParamTypes(OldProto->arg_type_begin(), in MergeFunctionDecl()
1794 OldProto->arg_type_end()); in MergeFunctionDecl()
1797 OldProto->getExtProtoInfo()); in MergeFunctionDecl()
1804 ParamType = OldProto->arg_type_begin(), in MergeFunctionDecl()
1805 ParamEnd = OldProto->arg_type_end(); in MergeFunctionDecl()
1841 const FunctionProtoType *OldProto in MergeFunctionDecl() local
1847 QualType MergedReturn = Context.mergeTypes(OldProto->getResultType(), in MergeFunctionDecl()
1881 OldProto->getExtProtoInfo())); in MergeFunctionDecl()