Searched refs:Proto1 (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 764 const FunctionProtoType *Proto1, in IsEquivalentExceptionSpec() argument 767 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec() 776 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec() 778 for (unsigned I = 0, N = Proto1->getNumExceptions(); I != N; ++I) { in IsEquivalentExceptionSpec() 784 if (!IsStructurallyEquivalent(Context, Proto1->getNoexceptExpr(), in IsEquivalentExceptionSpec() 1013 const auto *Proto1 = cast<FunctionProtoType>(T1); in IsStructurallyEquivalent() local 1016 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent() 1018 for (unsigned I = 0, N = Proto1->getNumParams(); I != N; ++I) { in IsStructurallyEquivalent() 1019 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent() 1023 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 5284 const FunctionProtoType *Proto1 = FD1->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local 5287 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs() 5341 Args1.insert(Args1.end(), Proto1->param_type_begin(), in isAtLeastAsSpecializedAs() 5342 Proto1->param_type_end()); in isAtLeastAsSpecializedAs() 5368 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()
|