Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp962 const ReferenceType *ParamRef = Param->getAs<ReferenceType>(); in DeduceTemplateArgumentsByTypeMatch() local
963 if (ParamRef) in DeduceTemplateArgumentsByTypeMatch()
964 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
971 if (ParamRef && ArgRef && S.Context.hasSameUnqualifiedType(Param, Arg)) { in DeduceTemplateArgumentsByTypeMatch()
993 if ((ParamRef->isLValueReferenceType() && in DeduceTemplateArgumentsByTypeMatch()
1041 if (const RValueReferenceType *ParamRef in DeduceTemplateArgumentsByTypeMatch() local
1043 if (isa<TemplateTypeParmType>(ParamRef->getPointeeType()) && in DeduceTemplateArgumentsByTypeMatch()
1044 !ParamRef->getPointeeType().getQualifiers()) in DeduceTemplateArgumentsByTypeMatch()
1046 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
DSemaTemplate.cpp4421 if (const ReferenceType *ParamRef = ParamType->getAs<ReferenceType>()) { in CheckTemplateArgumentIsCompatibleWithParameter() local
4422 if (!ParamRef->getPointeeType()->isFunctionType()) { in CheckTemplateArgumentIsCompatibleWithParameter()
4432 unsigned ParamQuals = ParamRef->getPointeeType().getCVRQualifiers(); in CheckTemplateArgumentIsCompatibleWithParameter()