Home
last modified time | relevance | path

Searched refs:Proto1 (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTStructuralEquivalence.cpp627 const FunctionProtoType *Proto1, in IsEquivalentExceptionSpec() argument
630 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec()
639 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()
641 for (unsigned I = 0, N = Proto1->getNumExceptions(); I != N; ++I) { in IsEquivalentExceptionSpec()
642 if (!IsStructurallyEquivalent(Context, Proto1->getExceptionType(I), in IsEquivalentExceptionSpec()
647 if (!IsStructurallyEquivalent(Context, Proto1->getNoexceptExpr(), in IsEquivalentExceptionSpec()
876 const auto *Proto1 = cast<FunctionProtoType>(T1); in IsStructurallyEquivalent() local
879 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
881 for (unsigned I = 0, N = Proto1->getNumParams(); I != N; ++I) { in IsStructurallyEquivalent()
882 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5080 const FunctionProtoType *Proto1 = FD1->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local
5083 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs()
5134 Args1.insert(Args1.end(), Proto1->param_type_begin(), in isAtLeastAsSpecializedAs()
5135 Proto1->param_type_end()); in isAtLeastAsSpecializedAs()
5160 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()