Searched refs:OldProto (Results 1 – 3 of 3) sorted by relevance
365 const auto *OldProto = Old->getType()->castAs<FunctionProtoType>(); in CheckEquivalentExceptionSpec() local367 FunctionProtoType::ExceptionSpecInfo ESI = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()371 ESI.Exceptions = OldProto->exceptions(); in CheckEquivalentExceptionSpec()417 switch (OldProto->getExceptionSpecType()) { in CheckEquivalentExceptionSpec()425 for (const auto &E : OldProto->exceptions()) { in CheckEquivalentExceptionSpec()445 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr"); in CheckEquivalentExceptionSpec()446 OldProto->getNoexceptExpr()->printPretty(OS, nullptr, getPrintingPolicy()); in CheckEquivalentExceptionSpec()
4145 const FunctionProtoType *OldProto = nullptr; in MergeFunctionDecl() local4147 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) { in MergeFunctionDecl()4150 assert(!OldProto->hasExceptionSpec() && "Exception spec in C"); in MergeFunctionDecl()4152 OldProto->getParamTypes(), in MergeFunctionDecl()4153 OldProto->getExtProtoInfo()); in MergeFunctionDecl()4159 for (const auto &ParamType : OldProto->param_types()) { in MergeFunctionDecl()4197 const FunctionProtoType *OldProto in MergeFunctionDecl() local4203 QualType MergedReturn = Context.mergeTypes(OldProto->getReturnType(), in MergeFunctionDecl()4237 OldProto->getExtProtoInfo())); in MergeFunctionDecl()
4512 const FunctionProtoType *OldProto = in SubstFunctionType() local4519 D, D->getLocation(), OldProto->getParamType(i))); in SubstFunctionType()