Lines Matching refs:Proto1
581 const FunctionProtoType *Proto1 = cast<FunctionProtoType>(T1); in IsStructurallyEquivalent() local
583 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
585 for (unsigned I = 0, N = Proto1->getNumParams(); I != N; ++I) { in IsStructurallyEquivalent()
586 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent()
590 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()
592 if (Proto1->getExceptionSpecType() != Proto2->getExceptionSpecType()) in IsStructurallyEquivalent()
594 if (Proto1->getExceptionSpecType() == EST_Dynamic) { in IsStructurallyEquivalent()
595 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsStructurallyEquivalent()
597 for (unsigned I = 0, N = Proto1->getNumExceptions(); I != N; ++I) { in IsStructurallyEquivalent()
599 Proto1->getExceptionType(I), in IsStructurallyEquivalent()
603 } else if (Proto1->getExceptionSpecType() == EST_ComputedNoexcept) { in IsStructurallyEquivalent()
605 Proto1->getNoexceptExpr(), in IsStructurallyEquivalent()
609 if (Proto1->getTypeQuals() != Proto2->getTypeQuals()) in IsStructurallyEquivalent()