reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5438 switch (Arg.getKind()) { 5440 return Arg; 5443 return Arg; 5446 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); 5447 return TemplateArgument(D, Arg.getParamTypeForDecl()); 5451 return TemplateArgument(getCanonicalType(Arg.getNullPtrType()), 5455 return TemplateArgument(getCanonicalTemplateName(Arg.getAsTemplate())); 5459 Arg.getAsTemplateOrTemplatePattern()), 5460 Arg.getNumTemplateExpansions()); 5463 return TemplateArgument(Arg, getCanonicalType(Arg.getIntegralType())); 5463 return TemplateArgument(Arg, getCanonicalType(Arg.getIntegralType())); 5466 return TemplateArgument(getCanonicalType(Arg.getAsType())); 5469 if (Arg.pack_size() == 0) 5470 return Arg; 5472 auto *CanonArgs = new (*this) TemplateArgument[Arg.pack_size()]; 5474 for (TemplateArgument::pack_iterator A = Arg.pack_begin(), 5475 AEnd = Arg.pack_end(); 5479 return TemplateArgument(llvm::makeArrayRef(CanonArgs, Arg.pack_size()));