Searched refs:Proto2 (Results 1 – 2 of 2) sorted by relevance
775 const FunctionProtoType *Proto2) { in IsEquivalentExceptionSpec() argument778 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()786 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()790 Proto2->getExceptionType(I))) in IsEquivalentExceptionSpec()795 Proto2->getNoexceptExpr())) in IsEquivalentExceptionSpec()1025 const auto *Proto2 = cast<FunctionProtoType>(T2); in IsStructurallyEquivalent() local1027 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()1031 Proto2->getParamType(I))) in IsStructurallyEquivalent()1034 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()1037 if (Proto1->getMethodQuals() != Proto2->getMethodQuals()) in IsStructurallyEquivalent()
5416 const FunctionProtoType *Proto2 = FD2->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local5418 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs()5441 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()5489 ::MarkUsedTemplateParameters(S.Context, Proto2->getReturnType(), in isAtLeastAsSpecializedAs()5545 const FunctionProtoType *Proto2 = in getMoreSpecializedTemplate() local5567 : Proto2->param_type_begin()[0]->isRValueReferenceType(); in getMoreSpecializedTemplate()5591 Args2.insert(Args2.end(), Proto2->param_type_begin(), in getMoreSpecializedTemplate()5592 Proto2->param_type_end()); in getMoreSpecializedTemplate()