Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp629 const FunctionProtoType *Proto2) { in IsEquivalentExceptionSpec() argument
632 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()
640 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()
644 Proto2->getExceptionType(I))) in IsEquivalentExceptionSpec()
649 Proto2->getNoexceptExpr())) in IsEquivalentExceptionSpec()
878 const auto *Proto2 = cast<FunctionProtoType>(T2); in IsStructurallyEquivalent() local
880 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
884 Proto2->getParamType(I))) in IsStructurallyEquivalent()
887 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()
890 if (Proto1->getMethodQuals() != Proto2->getMethodQuals()) in IsStructurallyEquivalent()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5081 const FunctionProtoType *Proto2 = FD2->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local
5083 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs()
5136 Args2.insert(Args2.end(), Proto2->param_type_begin(), in isAtLeastAsSpecializedAs()
5137 Proto2->param_type_end()); in isAtLeastAsSpecializedAs()
5160 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()
5209 ::MarkUsedTemplateParameters(S.Context, Proto2->getReturnType(), false, in isAtLeastAsSpecializedAs()