Lines Matching refs:Arg
4002 ASTContext::getCanonicalTemplateArgument(const TemplateArgument &Arg) const {
4003 switch (Arg.getKind()) {
4005 return Arg;
4008 return Arg;
4011 ValueDecl *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl());
4012 return TemplateArgument(D, Arg.isDeclForReferenceParam());
4016 return TemplateArgument(getCanonicalType(Arg.getNullPtrType()),
4020 return TemplateArgument(getCanonicalTemplateName(Arg.getAsTemplate()));
4024 Arg.getAsTemplateOrTemplatePattern()),
4025 Arg.getNumTemplateExpansions());
4028 return TemplateArgument(Arg, getCanonicalType(Arg.getIntegralType()));
4031 return TemplateArgument(getCanonicalType(Arg.getAsType()));
4034 if (Arg.pack_size() == 0)
4035 return Arg;
4038 = new (*this) TemplateArgument[Arg.pack_size()];
4040 for (TemplateArgument::pack_iterator A = Arg.pack_begin(),
4041 AEnd = Arg.pack_end();
4045 return TemplateArgument(CanonArgs, Arg.pack_size());
7731 // FIXME: There's no way to have a built-in with an rvalue ref arg.