Searched refs:OldProto (Results 1 – 3 of 3) sorted by relevance
273 const FunctionProtoType *OldProto = in CheckEquivalentExceptionSpec() local276 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()278 ESI.Exceptions = OldProto->exceptions(); in CheckEquivalentExceptionSpec()312 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()320 for (const auto &E : OldProto->exceptions()) { in CheckEquivalentExceptionSpec()338 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr"); in CheckEquivalentExceptionSpec()339 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
3123 const FunctionProtoType *OldProto = nullptr; in MergeFunctionDecl() local3125 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) { in MergeFunctionDecl()3128 assert(!OldProto->hasExceptionSpec() && "Exception spec in C"); in MergeFunctionDecl()3129 SmallVector<QualType, 16> ParamTypes(OldProto->param_types()); in MergeFunctionDecl()3132 OldProto->getExtProtoInfo()); in MergeFunctionDecl()3138 for (const auto &ParamType : OldProto->param_types()) { in MergeFunctionDecl()3171 const FunctionProtoType *OldProto in MergeFunctionDecl() local3177 QualType MergedReturn = Context.mergeTypes(OldProto->getReturnType(), in MergeFunctionDecl()3211 OldProto->getExtProtoInfo())); in MergeFunctionDecl()
3247 const FunctionProtoType *OldProto = in SubstFunctionType() local3254 D, D->getLocation(), OldProto->getParamType(i))); in SubstFunctionType()