Searched refs:CTD (Results 1 – 11 of 11) sorted by relevance
142 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(ND)) in getSourceRange() local143 return CTD->getSourceRange(); in getSourceRange()
198 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill() local201 TemplateParameters = CTD->getTemplateParameters(); in fill()
1263 if (auto *CTD = From.dyn_cast<ClassTemplateDecl *>()) { in getTemplateInstantiationPattern() local1264 while (auto *NewCTD = CTD->getInstantiatedFromMemberTemplate()) { in getTemplateInstantiationPattern()1267 CTD = NewCTD; in getTemplateInstantiationPattern()1269 return CTD->getTemplatedDecl()->getDefinition(); in getTemplateInstantiationPattern()
671 else if (ClassTemplateDecl *CTD = in VisitFriendDecl() local674 VisitRedeclarableTemplateDecl(CTD); in VisitFriendDecl()
295 if (const ClassTemplateDecl *CTD = CRD->getDescribedClassTemplate()) in adjustDeclToTemplate() local296 return CTD; in adjustDeclToTemplate()
455 ClassTemplateDecl *CTD; in MatchesFriend() local459 CTD = cast<ClassTemplateSpecializationDecl>(Record) in MatchesFriend()464 CTD = Record->getDescribedClassTemplate(); in MatchesFriend()465 if (!CTD) continue; in MatchesFriend()469 if (Friend == CTD->getCanonicalDecl()) in MatchesFriend()478 if (CTD->getDeclName() != Friend->getDeclName()) in MatchesFriend()483 if (!MightInstantiateTo(S, CTD->getDeclContext(), in MatchesFriend()
607 if (auto *CTD = CTSD->getSpecializedTemplate()) in getTopDSA() local608 RD = CTD->getTemplatedDecl(); in getTopDSA()8083 if (auto *CTD = CTSD->getSpecializedTemplate()) in IsCXXRecordForMappable() local8084 RD = CTD->getTemplatedDecl(); in IsCXXRecordForMappable()
6533 if (ClassTemplateDecl *CTD = RD->getDescribedClassTemplate()) in ActOnReenterTemplateScope() local6534 ParameterLists.push_back(CTD->getTemplateParameters()); in ActOnReenterTemplateScope()
3729 else if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(TagD)) in ParsedFreeStandingDeclSpec() local3730 Tag = CTD->getTemplatedDecl(); in ParsedFreeStandingDeclSpec()
473 ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(I); in PrintDeclContext() local474 Out << "<class template> " << *CTD << '\n'; in PrintDeclContext()
1894 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(InstD)) { in VisitClassTemplateSpecializationDeclImpl() local1895 D->SpecializedTemplate = CTD; in VisitClassTemplateSpecializationDeclImpl()