Lines Matching refs:Proto1
774 const FunctionProtoType *Proto1, in IsEquivalentExceptionSpec() argument
777 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec()
786 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()
788 for (unsigned I = 0, N = Proto1->getNumExceptions(); I != N; ++I) { in IsEquivalentExceptionSpec()
789 if (!IsStructurallyEquivalent(Context, Proto1->getExceptionType(I), in IsEquivalentExceptionSpec()
794 if (!IsStructurallyEquivalent(Context, Proto1->getNoexceptExpr(), in IsEquivalentExceptionSpec()
1024 const auto *Proto1 = cast<FunctionProtoType>(T1); in IsStructurallyEquivalent() local
1027 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
1029 for (unsigned I = 0, N = Proto1->getNumParams(); I != N; ++I) { in IsStructurallyEquivalent()
1030 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent()
1034 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()
1037 if (Proto1->getMethodQuals() != Proto2->getMethodQuals()) in IsStructurallyEquivalent()