Home
last modified time | relevance | path

Searched refs:ClassTemplateDecl (Results 1 – 25 of 52) sorted by relevance

123

/external/clang/lib/AST/
DDeclTemplate.cpp298 void ClassTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon()
302 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, in Create()
308 ClassTemplateDecl *PrevDecl) { in Create()
310 ClassTemplateDecl *New = new (C, DC) ClassTemplateDecl(C, DC, L, Name, in Create()
316 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
318 return new (C, ID) ClassTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
322 void ClassTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations()
334 ClassTemplateDecl::getSpecializations() const { in getSpecializations()
340 ClassTemplateDecl::getPartialSpecializations() { in getPartialSpecializations()
346 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
[all …]
DDeclFriend.cpp38 isa<ClassTemplateDecl>(D)); in Create()
DComment.cpp201 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill()
DDeclPrinter.cpp71 void VisitClassTemplateDecl(ClassTemplateDecl *D);
614 else if (ClassTemplateDecl *CTD = in VisitFriendDecl()
615 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
900 void DeclPrinter::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
DASTImporter.cpp129 bool IsStructuralMatch(ClassTemplateDecl *From, ClassTemplateDecl *To);
162 Decl *VisitClassTemplateDecl(ClassTemplateDecl *D);
1256 ClassTemplateDecl *D1, in IsStructurallyEquivalent()
1257 ClassTemplateDecl *D2) { in IsStructurallyEquivalent()
1364 } else if (ClassTemplateDecl *ClassTemplate1 in Finish()
1365 = dyn_cast<ClassTemplateDecl>(D1)) { in Finish()
1366 if (ClassTemplateDecl *ClassTemplate2 = dyn_cast<ClassTemplateDecl>(D2)) { in Finish()
2205 bool ASTNodeImporter::IsStructuralMatch(ClassTemplateDecl *From, in IsStructuralMatch()
2206 ClassTemplateDecl *To) { in IsStructuralMatch()
3949 Decl *ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
[all …]
/external/clang/include/clang/AST/
DDeclTemplate.h31 class ClassTemplateDecl; variable
1403 llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *>
1437 ClassTemplateDecl *SpecializedTemplate,
1448 ClassTemplateDecl *SpecializedTemplate,
1475 ClassTemplateDecl *getSpecializedTemplate() const;
1528 llvm::PointerUnion<ClassTemplateDecl *,
1532 return llvm::PointerUnion<ClassTemplateDecl *,
1540 llvm::PointerUnion<ClassTemplateDecl *,
1547 return SpecializedTemplate.get<ClassTemplateDecl*>();
1585 void setInstantiationOf(ClassTemplateDecl *TemplDecl) {
[all …]
DASTMutationListener.h20 class ClassTemplateDecl; variable
54 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
DDeclCXX.h30 class ClassTemplateDecl; variable
607 llvm::PointerUnion<ClassTemplateDecl*, MemberSpecializationInfo*>
1358 ClassTemplateDecl *getDescribedClassTemplate() const { in getDescribedClassTemplate()
1359 return TemplateOrInstantiation.dyn_cast<ClassTemplateDecl*>(); in getDescribedClassTemplate()
1362 void setDescribedClassTemplate(ClassTemplateDecl *Template) { in setDescribedClassTemplate()
/external/clang/tools/libclang/
DCIndexCXX.cpp100 llvm::PointerUnion<ClassTemplateDecl *, in clang_getSpecializedCursorTemplate()
103 if (Result.is<ClassTemplateDecl *>()) in clang_getSpecializedCursorTemplate()
104 Template = Result.get<ClassTemplateDecl *>(); in clang_getSpecializedCursorTemplate()
DIndexingContext.h21 class ClassTemplateDecl; variable
427 bool handleClassTemplate(const ClassTemplateDecl *D);
DIndexingContext.cpp636 bool IndexingContext::handleClassTemplate(const ClassTemplateDecl *D) { in handleClassTemplate()
828 if (ClassTemplateDecl *TemplD = RD->getDescribedClassTemplate()) in getEntityDecl()
841 if (const ClassTemplateDecl *ClassTempl = dyn_cast<ClassTemplateDecl>(D)) { in getEntityContainer()
DCursorVisitor.h218 bool VisitClassTemplateDecl(ClassTemplateDecl *D);
DIndexDecl.cpp277 bool VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
/external/clang/include/clang/Sema/
DTemplate.h377 SmallVector<std::pair<ClassTemplateDecl *,
446 SmallVectorImpl<std::pair<ClassTemplateDecl *,
501 ClassTemplateDecl *ClassTemplate,
/external/lldb/include/lldb/Symbol/
DClangASTContext.h277 clang::ClassTemplateDecl *
286 clang::ClassTemplateDecl *class_template_decl,
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp799 Decl *TemplateDeclInstantiator::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
824 ClassTemplateDecl *PrevClassTemplate = nullptr; in VisitClassTemplateDecl()
829 PrevClassTemplate = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplateDecl()
859 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl()
927 ClassTemplateDecl *Inst in VisitClassTemplateDecl()
928 = ClassTemplateDecl::Create(SemaRef.Context, DC, D->getLocation(), in VisitClassTemplateDecl()
984 ClassTemplateDecl *ClassTemplate = D->getSpecializedTemplate(); in VisitClassTemplatePartialSpecializationDecl()
993 ClassTemplateDecl *InstClassTemplate in VisitClassTemplatePartialSpecializationDecl()
994 = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplatePartialSpecializationDecl()
2342 ClassTemplateDecl *ClassTemplate = D->getSpecializedTemplate(); in VisitClassTemplateSpecializationDecl()
[all …]
DSemaTemplate.cpp91 llvm::SmallPtrSet<ClassTemplateDecl *, 8> ClassTemplates; in FilterAcceptableTemplateNames()
109 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl)) in FilterAcceptableTemplateNames()
210 assert(isa<ClassTemplateDecl>(TD) || isa<TemplateTemplateParmDecl>(TD) || in isTemplateName()
374 } else if (!FoundOuter.getAsSingle<ClassTemplateDecl>() || in LookupTemplateName()
910 ClassTemplateDecl *PrevClassTemplate in CheckClassTemplate()
911 = dyn_cast_or_null<ClassTemplateDecl>(PrevDecl); in CheckClassTemplate()
1067 ClassTemplateDecl *NewTemplate in CheckClassTemplate()
1068 = ClassTemplateDecl::Create(Context, SemanticContext, NameLoc, in CheckClassTemplate()
1972 : isa<ClassTemplateDecl>(Template) in NoteAllFoundTemplates()
2085 if (isa<ClassTemplateDecl>(Template)) { in CheckTemplateIdType()
[all …]
DSemaAccess.cpp440 ClassTemplateDecl *Friend) { in MatchesFriend()
450 ClassTemplateDecl *CTD; in MatchesFriend()
556 if (isa<ClassTemplateDecl>(Friend)) in MatchesFriend()
557 return MatchesFriend(S, EC, cast<ClassTemplateDecl>(Friend)); in MatchesFriend()
/external/lldb/include/lldb/Core/
DClangForward.h34 class ClassTemplateDecl; variable
/external/clang/lib/Frontend/
DASTConsumers.cpp464 ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(I); in PrintDeclContext()
DMultiplexConsumer.cpp95 void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD,
137 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
/external/clang/lib/Index/
DUSRGeneration.cpp82 void VisitClassTemplateDecl(const ClassTemplateDecl *D);
300 void USRGenerator::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
412 if (ClassTemplateDecl *ClassTmpl = CXXRecord->getDescribedClassTemplate()) { in VisitTagDecl()
/external/lldb/source/Symbol/
DClangASTContext.cpp1278 ClassTemplateDecl *
1287 ClassTemplateDecl *class_template_decl = NULL; in CreateClassTemplateDecl()
1298 class_template_decl = dyn_cast<clang::ClassTemplateDecl>(decl); in CreateClassTemplateDecl()
1328 class_template_decl = ClassTemplateDecl::Create (*ast, in CreateClassTemplateDecl()
1357 ClassTemplateDecl *class_template_decl, in CreateClassTemplateSpecializationDecl()
/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp719 ClassTemplateDecl* tmpl = record->getDescribedClassTemplate(); in CheckRecord()
720 for (ClassTemplateDecl::spec_iterator it = tmpl->spec_begin(); in CheckRecord()
893 if (ClassTemplateDecl* tmpl = in CheckTracingMethod()
895 for (ClassTemplateDecl::spec_iterator it = tmpl->spec_begin(); in CheckTracingMethod()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp283 void VisitClassTemplateDecl(ClassTemplateDecl *D);
1445 ClassTemplateDecl *Template = ReadDeclAs<ClassTemplateDecl>(Record, Idx); in VisitCXXRecordDeclImpl()
1620 void ASTDeclReader::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
1641 ClassTemplateDecl::Common *CommonPtr = D->getCommonPtr(); in VisitClassTemplateDecl()
1706 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(InstD)) { in VisitClassTemplateSpecializationDeclImpl()
1733 ClassTemplateDecl *CanonPattern = ReadDeclAs<ClassTemplateDecl>(Record,Idx); in VisitClassTemplateSpecializationDeclImpl()
2688 D = ClassTemplateDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()

123