Home | History | Annotate | Download | only in libclang

Lines Matching refs:Template

59     if (const TemplateDecl *Template
61 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind;
93 Decl *Template = nullptr;
97 Template = PartialSpec->getSpecializedTemplate();
104 Template = Result.get<ClassTemplateDecl *>();
106 Template = Result.get<ClassTemplatePartialSpecializationDecl *>();
109 Template = CXXRecord->getInstantiatedFromMemberClass();
111 Template = Function->getPrimaryTemplate();
112 if (!Template)
113 Template = Function->getInstantiatedFromMemberFunction();
116 Template = Var->getInstantiatedFromStaticDataMember();
119 Template = Tmpl->getInstantiatedFromMemberTemplate();
121 if (!Template)
124 return MakeCXCursor(Template, getCursorTU(C));