Lines Matching refs:Template
57 // template <typename T> struct S {
180 // If the name that we found is a class template name, and it is
181 // the same name as the template name in the last part of the
186 if (ClassTemplateDecl *Template = Found.getAsSingle<ClassTemplateDecl>()) {
201 // We're referring into a class template specialization. If the
202 // class template we found is the same as the template being
208 Template->getCanonicalDecl())
215 // We're referring to an unresolved class template
216 // specialization. Determine whether we class template we found
217 // is the same as the template being specialized or, if we don't
218 // know which template is being specialized, that it at least
224 // The class template we found is the same template being
227 if (SpecTemplate->getCanonicalDecl() == Template->getCanonicalDecl())
233 // The class template we found has the same name as the
234 // (dependent) template name being specialized.
238 DepTemplate->getIdentifier() == Template->getIdentifier())
667 if (ClassTemplateDecl *Template = dyn_cast<ClassTemplateDecl>(ContextDecl))
668 Record = Template->getTemplatedDecl();
894 // A template instance is never a usual deallocation function,
1581 // for template argument deduction and for comparison purposes.
1607 // Perform template argument deduction to try to match the
1863 // Only look at non-template functions, as it is the predefined,
1940 // Ignore template operator delete members from the check for a usual
2862 // that template with a templatetemplate
2863 // specialization may result in the implicit instantiation of the template
3207 // A template constructor is never a copy constructor.
3246 // FIXME: In C++0x, a constructor template can be a default constructor.
3349 // The predicate condition for a template specialization
3507 // template <class T>
3510 // the predicate condition for a template specialization
5183 // template instantiation time.
5198 // Resolve the template-id to a type.
5204 TemplateId->Template,
5247 // Resolve the template-id to a type.
5253 TemplateId->Template,