• Home
  • Raw
  • Download

Lines Matching refs:TemplateArgs

135       if (const TemplateArgumentList *TemplateArgs  in getTemplateInstantiationArgs()  local
138 Result.addOuterTemplateArguments(TemplateArgs); in getTemplateInstantiationArgs()
207 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
224 Inst.TemplateArgs = TemplateArgs.data(); in InstantiatingTemplate()
225 Inst.NumTemplateArgs = TemplateArgs.size(); in InstantiatingTemplate()
251 ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) in InstantiatingTemplate() argument
256 TemplateArgs) {} in InstantiatingTemplate()
261 ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
266 TemplateArgs, &DeductionInfo) {} in InstantiatingTemplate()
271 ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
277 TemplateArgs, &DeductionInfo) {} in InstantiatingTemplate()
282 ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
288 TemplateArgs, &DeductionInfo) {} in InstantiatingTemplate()
292 ArrayRef<TemplateArgument> TemplateArgs, SourceRange InstantiationRange) in InstantiatingTemplate() argument
297 TemplateArgs) {} in InstantiatingTemplate()
301 NonTypeTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
307 TemplateArgs) {} in InstantiatingTemplate()
311 TemplateTemplateParmDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
317 TemplateArgs) {} in InstantiatingTemplate()
321 NamedDecl *Param, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument
326 TemplateArgs) {} in InstantiatingTemplate()
465 Active->TemplateArgs, in PrintInstantiationStack()
479 Active->TemplateArgs, in PrintInstantiationStack()
489 Active->TemplateArgs, in PrintInstantiationStack()
529 Active->TemplateArgs, in PrintInstantiationStack()
547 Active->TemplateArgs, in PrintInstantiationStack()
623 const MultiLevelTemplateArgumentList &TemplateArgs; member in __anonef74ff820111::TemplateInstantiator
631 const MultiLevelTemplateArgumentList &TemplateArgs, in TemplateInstantiator() argument
634 : inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc), in TemplateInstantiator()
664 TemplateArgs, in TryExpandParameterPacks()
678 MultiLevelTemplateArgumentList &TemplateArgs in ForgetPartiallySubstitutedPack() local
679 = const_cast<MultiLevelTemplateArgumentList &>(this->TemplateArgs); in ForgetPartiallySubstitutedPack()
682 if (TemplateArgs.hasTemplateArgument(Depth, Index)) { in ForgetPartiallySubstitutedPack()
683 Result = TemplateArgs(Depth, Index); in ForgetPartiallySubstitutedPack()
684 TemplateArgs.setArgument(Depth, Index, TemplateArgument()); in ForgetPartiallySubstitutedPack()
697 MultiLevelTemplateArgumentList &TemplateArgs in RememberPartiallySubstitutedPack() local
698 = const_cast<MultiLevelTemplateArgumentList &>(this->TemplateArgs); in RememberPartiallySubstitutedPack()
701 TemplateArgs.setArgument(Depth, Index, Arg); in RememberPartiallySubstitutedPack()
710 SemaRef.InstantiateAttrs(TemplateArgs, Old, New); in transformAttrs()
733 SemaRef.PerformDependentDiagnostics(DC, TemplateArgs); in transformedLocalDecl()
833 /* DeclContext *Owner */ Owner, TemplateArgs); in TransformTemplateParameterList()
869 if (TTP->getDepth() < TemplateArgs.getNumLevels()) { in TransformDecl()
874 if (!TemplateArgs.hasTemplateArgument(TTP->getDepth(), in TransformDecl()
878 TemplateArgument Arg = TemplateArgs(TTP->getDepth(), TTP->getPosition()); in TransformDecl()
896 return SemaRef.FindInstantiatedDecl(Loc, cast<NamedDecl>(D), TemplateArgs); in TransformDecl()
900 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition()
917 if (TTP->getDepth() < TemplateArgs.getNumLevels()) { in TransformFirstQualifierInScope()
919 TemplateArgument Arg = TemplateArgs(TTP->getDepth(), TTP->getIndex()); in TransformFirstQualifierInScope()
1009 if (TTP->getDepth() < TemplateArgs.getNumLevels()) { in TransformTemplateName()
1014 if (!TemplateArgs.hasTemplateArgument(TTP->getDepth(), in TransformTemplateName()
1018 TemplateArgument Arg = TemplateArgs(TTP->getDepth(), TTP->getPosition()); in TransformTemplateName()
1077 if (!TemplateArgs.hasTemplateArgument(NTTP->getDepth(), in TransformTemplateParmRefExpr()
1081 TemplateArgument Arg = TemplateArgs(NTTP->getDepth(), NTTP->getPosition()); in TransformTemplateParmRefExpr()
1090 QualType TargetType = SemaRef.SubstType(NTTP->getType(), TemplateArgs, in TransformTemplateParmRefExpr()
1149 getSema().FindInstantiatedDecl(loc, VD, TemplateArgs)); in transformNonTypeTemplateParmRef()
1165 TemplateArgs, loc, parm->getDeclName()); in transformNonTypeTemplateParmRef()
1167 type = SemaRef.SubstType(parm->getType(), TemplateArgs, in transformNonTypeTemplateParmRef()
1281 if (NTTP->getDepth() < TemplateArgs.getNumLevels()) in TransformDeclRefExpr()
1323 return SemaRef.SubstParmVarDecl(OldParm, TemplateArgs, indexAdjustment, in TransformFunctionTypeParam()
1331 if (T->getDepth() < TemplateArgs.getNumLevels()) { in TransformTemplateTypeParmType()
1339 if (!TemplateArgs.hasTemplateArgument(T->getDepth(), T->getIndex())) { in TransformTemplateTypeParmType()
1346 TemplateArgument Arg = TemplateArgs(T->getDepth(), T->getIndex()); in TransformTemplateTypeParmType()
1392 - TemplateArgs.getNumLevels(), in TransformTemplateTypeParmType()
1501 const MultiLevelTemplateArgumentList &TemplateArgs, in SubstType() argument
1512 TemplateInstantiator Instantiator(*this, TemplateArgs, Loc, Entity); in SubstType()
1605 const MultiLevelTemplateArgumentList &TemplateArgs, in SubstParmVarDecl() argument
1617 NewDI = SubstType(ExpansionTL.getPatternLoc(), TemplateArgs, in SubstParmVarDecl()
1639 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl()
1674 ExprResult NewArg = SubstExpr(Arg, TemplateArgs); in SubstParmVarDecl()
1705 InstantiateAttrs(TemplateArgs, OldParm, NewParm); in SubstParmVarDecl()
1716 const MultiLevelTemplateArgumentList &TemplateArgs, in SubstParmTypes() argument
1724 TemplateInstantiator Instantiator(*this, TemplateArgs, Loc, in SubstParmTypes()
1739 const MultiLevelTemplateArgumentList &TemplateArgs) { in SubstBaseSpecifiers() argument
1766 TemplateArgs, ShouldExpand, in SubstBaseSpecifiers()
1779 TemplateArgs, in SubstBaseSpecifiers()
1806 TemplateArgs, in SubstBaseSpecifiers()
1811 TemplateArgs, in SubstBaseSpecifiers()
1843 const MultiLevelTemplateArgumentList &TemplateArgs);
1928 const MultiLevelTemplateArgumentList &TemplateArgs, in InstantiateClass() argument
1976 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateClass()
1989 if (SubstBaseSpecifiers(Instantiation, Pattern, TemplateArgs)) in InstantiateClass()
1992 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateClass()
2078 instantiateTemplateAttribute(I->TmplAttr, Context, *this, TemplateArgs); in InstantiateClass()
2098 PerformDependentDiagnostics(Pattern, TemplateArgs); in InstantiateClass()
2159 const MultiLevelTemplateArgumentList &TemplateArgs, in InstantiateEnum() argument
2194 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateEnum()
2196 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateEnum()
2222 FieldDecl *Pattern, const MultiLevelTemplateArgumentList &TemplateArgs) { in InstantiateInClassInitializer() argument
2267 ExprResult NewInit = SubstInitializer(OldInit, TemplateArgs, in InstantiateInClassInitializer()
2441 const MultiLevelTemplateArgumentList &TemplateArgs, in InstantiateClassMembers() argument
2580 TemplateArgs, in InstantiateClassMembers()
2593 InstantiateClassMembers(PointOfInstantiation, Pattern, TemplateArgs, in InstantiateClassMembers()
2620 InstantiateEnum(PointOfInstantiation, Enum, Pattern, TemplateArgs, TSK); in InstantiateClassMembers()
2635 TemplateArgs); in InstantiateClassMembers()
2663 Sema::SubstStmt(Stmt *S, const MultiLevelTemplateArgumentList &TemplateArgs) { in SubstStmt() argument
2667 TemplateInstantiator Instantiator(*this, TemplateArgs, in SubstStmt()
2674 Sema::SubstExpr(Expr *E, const MultiLevelTemplateArgumentList &TemplateArgs) { in SubstExpr() argument
2678 TemplateInstantiator Instantiator(*this, TemplateArgs, in SubstExpr()
2685 const MultiLevelTemplateArgumentList &TemplateArgs, in SubstInitializer() argument
2687 TemplateInstantiator Instantiator(*this, TemplateArgs, in SubstInitializer()
2694 const MultiLevelTemplateArgumentList &TemplateArgs, in SubstExprs() argument
2699 TemplateInstantiator Instantiator(*this, TemplateArgs, in SubstExprs()
2708 const MultiLevelTemplateArgumentList &TemplateArgs) { in SubstNestedNameSpecifierLoc() argument
2712 TemplateInstantiator Instantiator(*this, TemplateArgs, NNS.getBeginLoc(), in SubstNestedNameSpecifierLoc()
2720 const MultiLevelTemplateArgumentList &TemplateArgs) { in SubstDeclarationNameInfo() argument
2721 TemplateInstantiator Instantiator(*this, TemplateArgs, NameInfo.getLoc(), in SubstDeclarationNameInfo()
2729 const MultiLevelTemplateArgumentList &TemplateArgs) { in SubstTemplateName() argument
2730 TemplateInstantiator Instantiator(*this, TemplateArgs, Loc, in SubstTemplateName()
2739 const MultiLevelTemplateArgumentList &TemplateArgs) { in Subst() argument
2740 TemplateInstantiator Instantiator(*this, TemplateArgs, SourceLocation(), in Subst()