Searched refs:Proto2 (Results 1 – 2 of 2) sorted by relevance
765 const FunctionProtoType *Proto2) { in IsEquivalentExceptionSpec() argument768 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()776 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()780 Proto2->getExceptionType(I))) in IsEquivalentExceptionSpec()785 Proto2->getNoexceptExpr())) in IsEquivalentExceptionSpec()1014 const auto *Proto2 = cast<FunctionProtoType>(T2); in IsStructurallyEquivalent() local1016 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()1020 Proto2->getParamType(I))) in IsStructurallyEquivalent()1023 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()1026 if (Proto1->getMethodQuals() != Proto2->getMethodQuals()) in IsStructurallyEquivalent()
5285 const FunctionProtoType *Proto2 = FD2->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local5287 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs()5343 Args2.insert(Args2.end(), Proto2->param_type_begin(), in isAtLeastAsSpecializedAs()5344 Proto2->param_type_end()); in isAtLeastAsSpecializedAs()5368 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()5417 ::MarkUsedTemplateParameters(S.Context, Proto2->getReturnType(), false, in isAtLeastAsSpecializedAs()