Lines Matching refs:Proto1
636 const FunctionProtoType *Proto1 = cast<FunctionProtoType>(T1); in IsStructurallyEquivalent() local
638 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
640 for (unsigned I = 0, N = Proto1->getNumParams(); I != N; ++I) { in IsStructurallyEquivalent()
641 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent()
645 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()
647 if (Proto1->getExceptionSpecType() != Proto2->getExceptionSpecType()) in IsStructurallyEquivalent()
649 if (Proto1->getExceptionSpecType() == EST_Dynamic) { in IsStructurallyEquivalent()
650 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsStructurallyEquivalent()
652 for (unsigned I = 0, N = Proto1->getNumExceptions(); I != N; ++I) { in IsStructurallyEquivalent()
654 Proto1->getExceptionType(I), in IsStructurallyEquivalent()
658 } else if (Proto1->getExceptionSpecType() == EST_ComputedNoexcept) { in IsStructurallyEquivalent()
660 Proto1->getNoexceptExpr(), in IsStructurallyEquivalent()
664 if (Proto1->getTypeQuals() != Proto2->getTypeQuals()) in IsStructurallyEquivalent()