Searched refs:Proto1 (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTStructuralEquivalence.cpp | 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() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 5415 const FunctionProtoType *Proto1 = FD1->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local 5418 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs() 5441 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs() 5543 const FunctionProtoType *Proto1 = in getMoreSpecializedTemplate() local 5577 : Proto1->param_type_begin()[0]->isRValueReferenceType(); in getMoreSpecializedTemplate() 5589 Args1.insert(Args1.end(), Proto1->param_type_begin(), in getMoreSpecializedTemplate() 5590 Proto1->param_type_end()); in getMoreSpecializedTemplate()
|