Searched refs:Proto2 (Results 1 – 2 of 2) sorted by relevance
628 const FunctionProtoType *Proto2) { in IsEquivalentExceptionSpec() argument631 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()639 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()643 Proto2->getExceptionType(I))) in IsEquivalentExceptionSpec()648 Proto2->getNoexceptExpr())) in IsEquivalentExceptionSpec()877 const auto *Proto2 = cast<FunctionProtoType>(T2); in IsStructurallyEquivalent() local879 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()883 Proto2->getParamType(I))) in IsStructurallyEquivalent()886 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()889 if (Proto1->getMethodQuals() != Proto2->getMethodQuals()) in IsStructurallyEquivalent()
5081 const FunctionProtoType *Proto2 = FD2->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local5083 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs()5136 Args2.insert(Args2.end(), Proto2->param_type_begin(), in isAtLeastAsSpecializedAs()5137 Proto2->param_type_end()); in isAtLeastAsSpecializedAs()5160 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()5209 ::MarkUsedTemplateParameters(S.Context, Proto2->getReturnType(), false, in isAtLeastAsSpecializedAs()