Searched refs:Proto1 (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 820 const FunctionProtoType *Proto1, in IsEquivalentExceptionSpec() argument 823 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec() 832 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec() 834 for (unsigned I = 0, N = Proto1->getNumExceptions(); I != N; ++I) { in IsEquivalentExceptionSpec() 835 if (!IsStructurallyEquivalent(Context, Proto1->getExceptionType(I), in IsEquivalentExceptionSpec() 840 if (!IsStructurallyEquivalent(Context, Proto1->getNoexceptExpr(), in IsEquivalentExceptionSpec() 1098 const auto *Proto1 = cast<FunctionProtoType>(T1); in IsStructurallyEquivalent() local 1101 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent() 1103 for (unsigned I = 0, N = Proto1->getNumParams(); I != N; ++I) { in IsStructurallyEquivalent() 1104 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 5617 const FunctionProtoType *Proto1 = FD1->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local 5619 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs() 5633 assert(Proto1->getMethodQuals() == Proto2->getMethodQuals() && in isAtLeastAsSpecializedAs() 5634 Proto1->getRefQualifier() == Proto2->getRefQualifier() && in isAtLeastAsSpecializedAs() 5635 Proto1->isVariadic() == Proto2->isVariadic() && in isAtLeastAsSpecializedAs() 5641 Args1 = Proto1->getParamTypes(); in isAtLeastAsSpecializedAs() 5652 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs() 5692 Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs() 5838 const FunctionProtoType *Proto1 = in getMoreSpecializedTemplate() local 5860 auto Params1Begin = Proto1->param_type_begin(), in getMoreSpecializedTemplate() [all …]
|