/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 282 void ClassTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon() 286 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, in Create() 292 ClassTemplateDecl *PrevDecl) { in Create() 294 ClassTemplateDecl *New = new (C) ClassTemplateDecl(DC, L, Name, Params, Decl); in Create() 299 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 301 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ClassTemplateDecl)); in CreateDeserialized() 302 return new (Mem) ClassTemplateDecl(EmptyShell()); in CreateDeserialized() 305 void ClassTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 317 ClassTemplateDecl::getSpecializations() const { in getSpecializations() 323 ClassTemplateDecl::getPartialSpecializations() { in getPartialSpecializations() [all …]
|
D | DeclFriend.cpp | 38 isa<ClassTemplateDecl>(D)); in Create()
|
D | Comment.cpp | 200 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill()
|
D | DeclPrinter.cpp | 71 void VisitClassTemplateDecl(ClassTemplateDecl *D); 604 else if (ClassTemplateDecl *CTD = in VisitFriendDecl() 605 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl() 875 void DeclPrinter::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl() 878 for (ClassTemplateDecl::spec_iterator I = D->spec_begin(), E = D->spec_end(); in VisitClassTemplateDecl()
|
D | ASTImporter.cpp | 125 bool IsStructuralMatch(ClassTemplateDecl *From, ClassTemplateDecl *To); 157 Decl *VisitClassTemplateDecl(ClassTemplateDecl *D); 1239 ClassTemplateDecl *D1, in IsStructurallyEquivalent() 1240 ClassTemplateDecl *D2) { in IsStructurallyEquivalent() 1347 } else if (ClassTemplateDecl *ClassTemplate1 in Finish() 1348 = dyn_cast<ClassTemplateDecl>(D1)) { in Finish() 1349 if (ClassTemplateDecl *ClassTemplate2 = dyn_cast<ClassTemplateDecl>(D2)) { in Finish() 2170 bool ASTNodeImporter::IsStructuralMatch(ClassTemplateDecl *From, in IsStructuralMatch() 2171 ClassTemplateDecl *To) { in IsStructuralMatch() 3919 Decl *ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl() [all …]
|
D | DumpXML.cpp | 667 void visitClassTemplateDeclAttrs(ClassTemplateDecl *D) { in visitClassTemplateDeclAttrs() 670 void visitClassTemplateDeclChildren(ClassTemplateDecl *D) { in visitClassTemplateDeclChildren() 673 for (ClassTemplateDecl::spec_iterator in visitClassTemplateDeclChildren()
|
D | ASTDumper.cpp | 210 void VisitClassTemplateDecl(const ClassTemplateDecl *D); 962 void ASTDumper::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl() 966 ClassTemplateDecl::spec_iterator I = D->spec_begin(); in VisitClassTemplateDecl() 967 ClassTemplateDecl::spec_iterator E = D->spec_end(); in VisitClassTemplateDecl() 972 ClassTemplateDecl::spec_iterator Next = I; in VisitClassTemplateDecl()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 31 class ClassTemplateDecl; variable 1384 llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *> 1418 ClassTemplateDecl *SpecializedTemplate, 1429 ClassTemplateDecl *SpecializedTemplate, 1452 ClassTemplateDecl *getSpecializedTemplate() const; 1505 llvm::PointerUnion<ClassTemplateDecl *, 1511 return llvm::PointerUnion<ClassTemplateDecl *, 1518 return SpecializedTemplate.get<ClassTemplateDecl*>(); 1523 llvm::PointerUnion<ClassTemplateDecl *, 1530 return SpecializedTemplate.get<ClassTemplateDecl*>(); [all …]
|
D | ASTMutationListener.h | 20 class ClassTemplateDecl; variable 51 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | DeclCXX.h | 30 class ClassTemplateDecl; variable 579 llvm::PointerUnion<ClassTemplateDecl*, MemberSpecializationInfo*> 1276 ClassTemplateDecl *getDescribedClassTemplate() const { 1277 return TemplateOrInstantiation.dyn_cast<ClassTemplateDecl*>(); 1280 void setDescribedClassTemplate(ClassTemplateDecl *Template) {
|
D | RecursiveASTVisitor.h | 400 bool TraverseClassInstantiations(ClassTemplateDecl *D); 1409 ClassTemplateDecl *D) { in TraverseClassInstantiations() 1410 ClassTemplateDecl::spec_iterator end = D->spec_end(); in TraverseClassInstantiations() 1411 for (ClassTemplateDecl::spec_iterator it = D->spec_begin(); it != end; ++it) { in TraverseClassInstantiations() 1434 DEF_TRAVERSE_DECL(ClassTemplateDecl, {
|
/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 100 llvm::PointerUnion<ClassTemplateDecl *, in clang_getSpecializedCursorTemplate() 103 if (Result.is<ClassTemplateDecl *>()) in clang_getSpecializedCursorTemplate() 104 Template = Result.get<ClassTemplateDecl *>(); in clang_getSpecializedCursorTemplate()
|
D | CIndexUSRs.cpp | 76 void VisitClassTemplateDecl(const ClassTemplateDecl *D); 284 void USRGenerator::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl() 397 if (ClassTemplateDecl *ClassTmpl = CXXRecord->getDescribedClassTemplate()) { in VisitTagDecl()
|
D | IndexingContext.h | 20 class ClassTemplateDecl; variable 431 bool handleClassTemplate(const ClassTemplateDecl *D);
|
D | CursorVisitor.h | 218 bool VisitClassTemplateDecl(ClassTemplateDecl *D);
|
D | IndexingContext.cpp | 627 bool IndexingContext::handleClassTemplate(const ClassTemplateDecl *D) { in handleClassTemplate() 819 if (ClassTemplateDecl *TemplD = RD->getDescribedClassTemplate()) in getEntityDecl() 832 if (const ClassTemplateDecl *ClassTempl = dyn_cast<ClassTemplateDecl>(D)) { in getEntityContainer()
|
D | RecursiveASTVisitor.h | 395 bool TraverseClassInstantiations(ClassTemplateDecl *D); 1345 ClassTemplateDecl *D) { in TraverseClassInstantiations() 1346 ClassTemplateDecl::spec_iterator end = D->spec_end(); in TraverseClassInstantiations() 1347 for (ClassTemplateDecl::spec_iterator it = D->spec_begin(); it != end; ++it) { in TraverseClassInstantiations() 1370 DEF_TRAVERSE_DECL(ClassTemplateDecl, {
|
/external/clang/include/clang/Sema/ |
D | Template.h | 379 SmallVector<std::pair<ClassTemplateDecl *, 419 Decl *VisitClassTemplateDecl(ClassTemplateDecl *D); 461 SmallVectorImpl<std::pair<ClassTemplateDecl *, 499 ClassTemplateDecl *ClassTemplate,
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 766 Decl *TemplateDeclInstantiator::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl() 791 ClassTemplateDecl *PrevClassTemplate = 0; in VisitClassTemplateDecl() 796 PrevClassTemplate = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplateDecl() 826 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl() 898 ClassTemplateDecl *Inst in VisitClassTemplateDecl() 899 = ClassTemplateDecl::Create(SemaRef.Context, DC, D->getLocation(), in VisitClassTemplateDecl() 955 ClassTemplateDecl *ClassTemplate = D->getSpecializedTemplate(); in VisitClassTemplatePartialSpecializationDecl() 964 ClassTemplateDecl *InstClassTemplate in VisitClassTemplatePartialSpecializationDecl() 965 = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplatePartialSpecializationDecl() 2241 ClassTemplateDecl *ClassTemplate, in InstantiateClassTemplatePartialSpecialization() [all …]
|
D | SemaTemplate.cpp | 89 llvm::SmallPtrSet<ClassTemplateDecl *, 8> ClassTemplates; in FilterAcceptableTemplateNames() 107 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl)) in FilterAcceptableTemplateNames() 209 assert(isa<ClassTemplateDecl>(TD) || isa<TemplateTemplateParmDecl>(TD) || in isTemplateName() 374 } else if (!FoundOuter.getAsSingle<ClassTemplateDecl>() || in LookupTemplateName() 919 ClassTemplateDecl *PrevClassTemplate in CheckClassTemplate() 920 = dyn_cast_or_null<ClassTemplateDecl>(PrevDecl); in CheckClassTemplate() 1073 ClassTemplateDecl *NewTemplate in CheckClassTemplate() 1074 = ClassTemplateDecl::Create(Context, SemanticContext, NameLoc, in CheckClassTemplate() 1937 : isa<ClassTemplateDecl>(Template)? 1 in NoteAllFoundTemplates() 2049 if (isa<ClassTemplateDecl>(Template)) { in CheckTemplateIdType() [all …]
|
D | SemaCXXScopeSpec.cpp | 102 if (ClassTemplateDecl *ClassTemplate in computeDeclContext() 103 = dyn_cast_or_null<ClassTemplateDecl>( in computeDeclContext()
|
D | SemaAccess.cpp | 444 ClassTemplateDecl *Friend) { in MatchesFriend() 454 ClassTemplateDecl *CTD; in MatchesFriend() 560 if (isa<ClassTemplateDecl>(Friend)) in MatchesFriend() 561 return MatchesFriend(S, EC, cast<ClassTemplateDecl>(Friend)); in MatchesFriend()
|
/external/clang/lib/Frontend/ |
D | MultiplexConsumer.cpp | 95 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, 132 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
|
D | ASTConsumers.cpp | 462 ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(*I); in PrintDeclContext()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 254 void VisitClassTemplateDecl(ClassTemplateDecl *D); 1192 D->TemplateOrInstantiation = ReadDeclAs<ClassTemplateDecl>(Record, Idx); in VisitCXXRecordDecl() 1330 void ASTDeclReader::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl() 1351 ClassTemplateDecl::Common *CommonPtr = D->getCommonPtr(); in VisitClassTemplateDecl() 1372 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(InstD)) { in VisitClassTemplateSpecializationDecl() 1409 ClassTemplateDecl *CanonPattern = ReadDeclAs<ClassTemplateDecl>(Record,Idx); in VisitClassTemplateSpecializationDecl() 2039 D = ClassTemplateDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|