Lines Matching refs:TemplateArgument
508 return TemplateArgumentLoc(TemplateArgument(T), DI);
513 return TemplateArgumentLoc(TemplateArgument(E), E);
518 TemplateArgument TArg;
520 TArg = TemplateArgument(Template, Optional<unsigned int>());
735 TemplateArgument Converted;
1983 SmallVector<TemplateArgument, 4> Converted;
2275 SmallVectorImpl<TemplateArgument> &TemplateArgs);
2338 SmallVector<TemplateArgument, 4> Converted;
2549 SmallVector<TemplateArgument, 4> Converted;
2895 SmallVectorImpl<TemplateArgument> &Converted) {
2896 const TemplateArgument &Arg = AL.getArgument();
2900 case TemplateArgument::Type:
2905 case TemplateArgument::Template: {
2917 case TemplateArgument::Expression: {
2982 Converted.push_back(TemplateArgument(ArgType));
3013 SmallVectorImpl<TemplateArgument> &Converted) {
3068 SmallVectorImpl<TemplateArgument> &Converted) {
3117 SmallVectorImpl<TemplateArgument> &Converted,
3155 SmallVectorImpl<TemplateArgument>
3171 return TemplateArgumentLoc(TemplateArgument(DI->getType()), DI);
3191 return TemplateArgumentLoc(TemplateArgument(ArgE), ArgE);
3210 return TemplateArgumentLoc(TemplateArgument(TName),
3247 SmallVectorImpl<TemplateArgument> &Converted,
3288 case TemplateArgument::Null:
3291 case TemplateArgument::Expression: {
3292 TemplateArgument Result;
3303 case TemplateArgument::Declaration:
3304 case TemplateArgument::Integral:
3305 case TemplateArgument::NullPtr:
3311 case TemplateArgument::Template:
3312 case TemplateArgument::TemplateExpansion:
3339 if (Arg.getArgument().getKind() == TemplateArgument::TemplateExpansion){
3345 TemplateArgument Result;
3363 case TemplateArgument::Type: {
3384 case TemplateArgument::Pack:
3417 case TemplateArgument::Null:
3420 case TemplateArgument::Template:
3421 case TemplateArgument::TemplateExpansion:
3428 case TemplateArgument::Expression:
3429 case TemplateArgument::Type:
3436 case TemplateArgument::Declaration:
3438 case TemplateArgument::Integral:
3440 case TemplateArgument::NullPtr:
3443 case TemplateArgument::Pack:
3506 SmallVectorImpl<TemplateArgument> &Converted,
3521 SmallVector<TemplateArgument, 2> ArgumentPack;
3534 TemplateArgument::CreatePackCopy(Context,
3606 TemplateArgument::CreatePackCopy(Context,
3624 Converted.push_back(TemplateArgument::CreatePackCopy(Context,
3643 Converted.push_back(TemplateArgument::CreatePackCopy(Context,
3674 Arg = TemplateArgumentLoc(TemplateArgument(ArgType->getType()),
3691 Arg = TemplateArgumentLoc(TemplateArgument(Ex), Ex);
3710 Arg = TemplateArgumentLoc(TemplateArgument(Name), QualifierLoc,
4123 TemplateArgument &Converted) {
4133 Converted = TemplateArgument(ParamType, /*isNullPtr*/true);
4190 Converted = TemplateArgument(ArgIn);
4201 Converted = TemplateArgument(ArgIn);
4408 TemplateArgument(cast<ValueDecl>(Entity->getCanonicalDecl()),
4420 TemplateArgument &Converted) {
4430 Converted = TemplateArgument(ParamType, /*isNullPtr*/true);
4500 Converted = TemplateArgument(Arg);
4503 Converted = TemplateArgument(VD, /*isReferenceParam*/false);
4526 Converted = TemplateArgument(Arg);
4529 Converted = TemplateArgument(D, /*isReferenceParam*/false);
4552 TemplateArgument &Converted,
4560 Converted = TemplateArgument(Arg);
4604 Converted = TemplateArgument(Arg);
4630 Converted = TemplateArgument(Context, Value,
4705 // TemplateArgument with the converted expression.
4706 Converted = TemplateArgument(Arg);
4757 Converted = TemplateArgument(Context, Value,
4867 Converted = TemplateArgument(Arg);
4883 Converted = TemplateArgument(ParamType, /*isNullPtr*/true);
4952 Sema::BuildExpressionFromDeclTemplateArgument(const TemplateArgument &Arg,
4967 if (Arg.getKind() == TemplateArgument::NullPtr) {
4975 assert(Arg.getKind() == TemplateArgument::Declaration &&
5076 Sema::BuildExpressionFromIntegralTemplateArgument(const TemplateArgument &Arg,
5078 assert(Arg.getKind() == TemplateArgument::Integral &&
5564 Sema &S, NonTypeTemplateParmDecl *Param, const TemplateArgument *Args,
5567 if (Args[I].getKind() == TemplateArgument::Pack) {
5575 if (Args[I].getKind() != TemplateArgument::Expression)
5642 SmallVectorImpl<TemplateArgument> &TemplateArgs) {
5643 const TemplateArgument *ArgList = TemplateArgs.data();
5789 SmallVector<TemplateArgument, 4> Converted;
6838 SmallVector<TemplateArgument, 4> Converted;
7874 const TemplateArgument *Args,