Home
last modified time | relevance | path

Searched refs:ParamRef (Results 1 – 4 of 4) 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()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateDeduction.cpp1212 if (auto *ParamRef = Param->getAs<RValueReferenceType>()) { in isForwardingReference() local
1213 if (ParamRef->getPointeeType().getQualifiers()) in isForwardingReference()
1215 auto *TypeParm = ParamRef->getPointeeType()->getAs<TemplateTypeParmType>(); in isForwardingReference()
1384 const ReferenceType *ParamRef = Param->getAs<ReferenceType>(); in DeduceTemplateArgumentsByTypeMatch() local
1385 if (ParamRef) in DeduceTemplateArgumentsByTypeMatch()
1386 Param = ParamRef->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1393 if (ParamRef && ArgRef && S.Context.hasSameUnqualifiedType(Param, Arg)) { in DeduceTemplateArgumentsByTypeMatch()
1415 if ((ParamRef->isLValueReferenceType() && in DeduceTemplateArgumentsByTypeMatch()
DSemaTemplate.cpp6363 if (const ReferenceType *ParamRef = ParamType->getAs<ReferenceType>()) { in CheckTemplateArgumentIsCompatibleWithParameter() local
6364 if (!ParamRef->getPointeeType()->isFunctionType()) { in CheckTemplateArgumentIsCompatibleWithParameter()
6374 unsigned ParamQuals = ParamRef->getPointeeType().getCVRQualifiers(); in CheckTemplateArgumentIsCompatibleWithParameter()