Lines Matching refs:Param

89                         const TemplateArgument &Param,
121 QualType Param,
332 Info.Param = NTTP;
363 Info.Param = NTTP;
393 Info.Param = NTTP;
406 TemplateName Param,
410 TemplateDecl *ParamDecl = Param.getAsTemplateDecl();
424 Info.Param = TempParam;
435 if (S.Context.hasSameTemplateName(Param, Arg))
439 Info.FirstArg = TemplateArgument(Param);
451 /// \param Param the parameter type
465 const TemplateSpecializationType *Param,
477 Param->getTemplateName(),
487 Param->getArgs(), Param->getNumArgs(),
497 Info.FirstArg = TemplateArgument(QualType(Param, 0));
505 Info.FirstArg = TemplateArgument(QualType(Param, 0));
514 Param->getTemplateName(),
521 Param->getArgs(), Param->getNumArgs(),
739 Info.Param =
928 /// \param Param the template parameter type.
931 bool Sema::isSameOrCompatibleFunctionType(CanQualType Param,
933 const FunctionType *ParamFunction = Param->getAs<FunctionType>(),
938 return Param == Arg;
942 if (IsNoReturnConversion(Param, Arg, AdjustedParam))
947 return Param == Arg;
989 QualType Param = S.Context.getCanonicalType(ParamIn);
1003 const ReferenceType *ParamRef = Param->getAs<ReferenceType>();
1005 Param = ParamRef->getPointeeType();
1027 Qualifiers ParamQuals = Param.getQualifiers();
1051 Param = Param.getUnqualifiedType();
1062 QualType UnqualParam = S.Context.getUnqualifiedArrayType(Param, Quals);
1065 Param = S.Context.getQualifiedType(UnqualParam, Quals);
1068 if ((TDF & TDF_TopLevelParameterTypeList) && !Param->isFunctionType()) {
1083 = Param->getAs<RValueReferenceType>()) {
1087 Param = ParamRef->getPointeeType();
1100 = Param->getAs<TemplateTypeParmType>()) {
1122 hasInconsistentOrSupersetQualifiersOf(Param, Arg)) {
1123 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index));
1124 Info.FirstArg = TemplateArgument(Param);
1136 Qualifiers ParamQs = Param.getQualifiers();
1150 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index));
1151 Info.FirstArg = TemplateArgument(Param);
1175 Info.Param = cast<TemplateTypeParmDecl>(TemplateParams->getParam(Index));
1193 if (isa<SubstTemplateTypeParmPackType>(Param))
1197 CanQualType CanParam = S.Context.getCanonicalType(Param);
1201 if (hasInconsistentOrSupersetQualifiersOf(Param, Arg))
1203 } else if (!IsPossiblyOpaquelyQualifiedType(Param)) {
1204 if (Param.getCVRQualifiers() != Arg.getCVRQualifiers())
1209 if (!Param->isDependentType()) {
1213 Param != Arg;
1220 } else if (!Param->isDependentType()) {
1231 switch (Param->getTypeClass()) {
1257 Param = Param.getUnqualifiedType();
1261 return Param == Arg? Sema::TDK_Success : Sema::TDK_NonDeducedMismatch;
1268 cast<ComplexType>(Param)->getElementType(),
1278 cast<AtomicType>(Param)->getValueType(),
1298 cast<PointerType>(Param)->getPointeeType(),
1310 cast<LValueReferenceType>(Param)->getPointeeType(),
1321 cast<RValueReferenceType>(Param)->getPointeeType(),
1335 S.Context.getAsIncompleteArrayType(Param)->getElementType(),
1348 S.Context.getAsConstantArrayType(Param);
1369 = S.Context.getAsDependentSizedArrayType(Param);
1417 cast<FunctionProtoType>(Param);
1443 Param = cast<InjectedClassNameType>(Param)
1445 assert(isa<TemplateSpecializationType>(Param) &&
1457 = cast<TemplateSpecializationType>(Param);
1514 Info.Param = BaseInfo.Param;
1550 const MemberPointerType *MemPtrParam = cast<MemberPointerType>(Param);
1576 const BlockPointerType *BlockPtrParam = cast<BlockPointerType>(Param);
1592 const ExtVectorType *VectorParam = cast<ExtVectorType>(Param);
1626 = cast<DependentSizedExtVectorType>(Param);
1691 const TemplateArgument &Param,
1701 switch (Param.getKind()) {
1708 Param.getAsType(),
1711 Info.FirstArg = Param;
1718 Param.getAsTemplate(),
1720 Info.FirstArg = Param;
1729 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl()) &&
1730 Param.isDeclForReferenceParam() == Arg.isDeclForReferenceParam())
1733 Info.FirstArg = Param;
1739 S.Context.hasSameType(Param.getNullPtrType(), Arg.getNullPtrType()))
1742 Info.FirstArg = Param;
1748 if (hasSameExtendedValue(Param.getAsIntegral(), Arg.getAsIntegral()))
1751 Info.FirstArg = Param;
1757 Info.FirstArg = Param;
1762 Info.FirstArg = Param;
1768 = getDeducedParameterFromExpr(Param.getAsExpr())) {
1782 Info.FirstArg = Param;
2086 ConvertDeducedTemplateArgument(Sema &S, NamedDecl *Param,
2106 if (ConvertDeducedTemplateArgument(S, Param, InnerArg, Template,
2129 return S.CheckTemplateArgument(Param, ArgLoc,
2162 NamedDecl *Param = PartialParams->getParam(I);
2164 Info.Param = makeTemplateParameter(Param);
2176 = dyn_cast<NonTypeTemplateParmDecl>(Param)) {
2186 Info.Param = makeTemplateParameter(Param);
2196 if (ConvertDeducedTemplateArgument(S, Param, Deduced[I],
2199 Info.Param = makeTemplateParameter(Param);
2235 Decl *Param
2238 Info.Param = makeTemplateParameter(Param);
2253 Info.Param = makeTemplateParameter(TemplateParams->getParam(I));
2330 NamedDecl *Param = PartialParams->getParam(I);
2332 Info.Param = makeTemplateParameter(Param);
2344 dyn_cast<NonTypeTemplateParmDecl>(Param)) {
2353 Info.Param = makeTemplateParameter(Param);
2362 if (ConvertDeducedTemplateArgument(S, Param, Deduced[I], Partial, NTTPType,
2364 Info.Param = makeTemplateParameter(Param);
2399 Decl *Param = const_cast<NamedDecl *>(
2401 Info.Param = makeTemplateParameter(Param);
2414 Info.Param = makeTemplateParameter(TemplateParams->getParam(I));
2558 Info.Param = makeTemplateParameter(TemplateParams->getParam(Index));
2811 NamedDecl *Param = TemplateParams->getParam(I);
2822 if (Param->isParameterPack() && CurrentInstantiationScope) {
2824 Param) {
2840 = dyn_cast<NonTypeTemplateParmDecl>(Param)) {
2850 Info.Param = makeTemplateParameter(Param);
2860 if (ConvertDeducedTemplateArgument(*this, Param, Deduced[I],
2863 Info.Param = makeTemplateParameter(Param);
2877 if (Param->isTemplateParameterPack()) {
2886 == Param) {
2904 Param,
2909 Info.Param = makeTemplateParameter(
2917 if (CheckTemplateArgument(Param, DefArg,
2923 Info.Param = makeTemplateParameter(