Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp966 const ReferenceType *ParamRef = Param->getAs<ReferenceType>(); in DeduceTemplateArgumentsByTypeMatch() local
967 if (ParamRef) in DeduceTemplateArgumentsByTypeMatch()
968 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
975 if (ParamRef && ArgRef && S.Context.hasSameUnqualifiedType(Param, Arg)) { in DeduceTemplateArgumentsByTypeMatch()
997 if ((ParamRef->isLValueReferenceType() && in DeduceTemplateArgumentsByTypeMatch()
1045 if (const RValueReferenceType *ParamRef in DeduceTemplateArgumentsByTypeMatch() local
1047 if (isa<TemplateTypeParmType>(ParamRef->getPointeeType()) && in DeduceTemplateArgumentsByTypeMatch()
1048 !ParamRef->getPointeeType().getQualifiers()) in DeduceTemplateArgumentsByTypeMatch()
1050 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
DSemaTemplate.cpp4298 if (const ReferenceType *ParamRef = ParamType->getAs<ReferenceType>()) { in CheckTemplateArgumentIsCompatibleWithParameter() local
4299 if (!ParamRef->getPointeeType()->isFunctionType()) { in CheckTemplateArgumentIsCompatibleWithParameter()
4309 unsigned ParamQuals = ParamRef->getPointeeType().getCVRQualifiers(); in CheckTemplateArgumentIsCompatibleWithParameter()