Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp775 const FunctionProtoType *Proto2) { in IsEquivalentExceptionSpec() argument
778 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()
786 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()
790 Proto2->getExceptionType(I))) in IsEquivalentExceptionSpec()
795 Proto2->getNoexceptExpr())) in IsEquivalentExceptionSpec()
1025 const auto *Proto2 = cast<FunctionProtoType>(T2); in IsStructurallyEquivalent() local
1027 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
1031 Proto2->getParamType(I))) in IsStructurallyEquivalent()
1034 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()
1037 if (Proto1->getMethodQuals() != Proto2->getMethodQuals()) in IsStructurallyEquivalent()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5416 const FunctionProtoType *Proto2 = FD2->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()
5489 ::MarkUsedTemplateParameters(S.Context, Proto2->getReturnType(), in isAtLeastAsSpecializedAs()
5545 const FunctionProtoType *Proto2 = in getMoreSpecializedTemplate() local
5567 : Proto2->param_type_begin()[0]->isRValueReferenceType(); in getMoreSpecializedTemplate()
5591 Args2.insert(Args2.end(), Proto2->param_type_begin(), in getMoreSpecializedTemplate()
5592 Proto2->param_type_end()); in getMoreSpecializedTemplate()