Searched refs:OldProto (Results 1 – 2 of 2) sorted by relevance
150 const FunctionProtoType *OldProto in CheckEquivalentExceptionSpec() local154 EPI.ExceptionSpecType = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()156 EPI.NumExceptions = OldProto->getNumExceptions(); in CheckEquivalentExceptionSpec()157 EPI.Exceptions = OldProto->exception_begin(); in CheckEquivalentExceptionSpec()191 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()199 for (FunctionProtoType::exception_iterator E = OldProto->exception_begin(), in CheckEquivalentExceptionSpec()200 EEnd = OldProto->exception_end(); in CheckEquivalentExceptionSpec()220 OldProto->getNoexceptExpr()->printPretty(OS, Context, 0, in CheckEquivalentExceptionSpec()
1787 const FunctionProtoType *OldProto = 0; in MergeFunctionDecl() local1789 (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() local1847 QualType MergedReturn = Context.mergeTypes(OldProto->getResultType(), in MergeFunctionDecl()[all …]