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.cpp821 const FunctionProtoType *Proto2) { in IsEquivalentExceptionSpec() argument
824 auto Spec2 = Proto2->getExceptionSpecType(); in IsEquivalentExceptionSpec()
832 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()
836 Proto2->getExceptionType(I))) in IsEquivalentExceptionSpec()
841 Proto2->getNoexceptExpr())) in IsEquivalentExceptionSpec()
1099 const auto *Proto2 = cast<FunctionProtoType>(T2); in IsStructurallyEquivalent() local
1101 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
1105 Proto2->getParamType(I))) in IsStructurallyEquivalent()
1108 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()
1111 if (Proto1->getMethodQuals() != Proto2->getMethodQuals()) in IsStructurallyEquivalent()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5618 const FunctionProtoType *Proto2 = FD2->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local
5619 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs()
5633 assert(Proto1->getMethodQuals() == Proto2->getMethodQuals() && in isAtLeastAsSpecializedAs()
5634 Proto1->getRefQualifier() == Proto2->getRefQualifier() && in isAtLeastAsSpecializedAs()
5635 Proto1->isVariadic() == Proto2->isVariadic() && in isAtLeastAsSpecializedAs()
5642 Args2 = Proto2->getParamTypes(); in isAtLeastAsSpecializedAs()
5652 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()
5692 Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()
5750 ::MarkUsedTemplateParameters(S.Context, Proto2->getReturnType(), in isAtLeastAsSpecializedAs()
5840 const FunctionProtoType *Proto2 = in getMoreSpecializedTemplate() local
[all …]