Home
last modified time | relevance | path

Searched refs:CTD (Results 1 – 11 of 11) sorted by relevance

/external/clang/include/clang/AST/
DDeclFriend.h142 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(ND)) in getSourceRange() local
143 return CTD->getSourceRange(); in getSourceRange()
/external/clang/lib/AST/
DComment.cpp198 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill() local
201 TemplateParameters = CTD->getTemplateParameters(); in fill()
DDeclCXX.cpp1263 if (auto *CTD = From.dyn_cast<ClassTemplateDecl *>()) { in getTemplateInstantiationPattern() local
1264 while (auto *NewCTD = CTD->getInstantiatedFromMemberTemplate()) { in getTemplateInstantiationPattern()
1267 CTD = NewCTD; in getTemplateInstantiationPattern()
1269 return CTD->getTemplatedDecl()->getDefinition(); in getTemplateInstantiationPattern()
DDeclPrinter.cpp671 else if (ClassTemplateDecl *CTD = in VisitFriendDecl() local
674 VisitRedeclarableTemplateDecl(CTD); in VisitFriendDecl()
DASTContext.cpp295 if (const ClassTemplateDecl *CTD = CRD->getDescribedClassTemplate()) in adjustDeclToTemplate() local
296 return CTD; in adjustDeclToTemplate()
/external/clang/lib/Sema/
DSemaAccess.cpp455 ClassTemplateDecl *CTD; in MatchesFriend() local
459 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()
DSemaOpenMP.cpp607 if (auto *CTD = CTSD->getSpecializedTemplate()) in getTopDSA() local
608 RD = CTD->getTemplatedDecl(); in getTopDSA()
8083 if (auto *CTD = CTSD->getSpecializedTemplate()) in IsCXXRecordForMappable() local
8084 RD = CTD->getTemplatedDecl(); in IsCXXRecordForMappable()
DSemaDeclCXX.cpp6533 if (ClassTemplateDecl *CTD = RD->getDescribedClassTemplate()) in ActOnReenterTemplateScope() local
6534 ParameterLists.push_back(CTD->getTemplateParameters()); in ActOnReenterTemplateScope()
DSemaDecl.cpp3729 else if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(TagD)) in ParsedFreeStandingDeclSpec() local
3730 Tag = CTD->getTemplatedDecl(); in ParsedFreeStandingDeclSpec()
/external/clang/lib/Frontend/
DASTConsumers.cpp473 ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(I); in PrintDeclContext() local
474 Out << "<class template> " << *CTD << '\n'; in PrintDeclContext()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1894 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(InstD)) { in VisitClassTemplateSpecializationDeclImpl() local
1895 D->SpecializedTemplate = CTD; in VisitClassTemplateSpecializationDeclImpl()