Lines Matching refs:Template
1 //===--- TemplateName.cpp - C++ Template Name Representation---------------===//
56 return Template;
72 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>())
73 return Template;
85 if (TemplateDecl *Template = getAsTemplateDecl()) {
86 if (isa<TemplateTemplateParmDecl>(Template))
88 // FIXME: Hack, getDeclContext() can be null if Template is still
92 return Template->getDeclContext() &&
93 Template->getDeclContext()->isDependentContext();
112 if (TemplateDecl *Template = getAsTemplateDecl()) {
114 = dyn_cast<TemplateTemplateParmDecl>(Template))
130 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>())
131 OS << *Template;
136 OS << "template ";
141 OS << "template ";