Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DDeclTemplate.cpp319 void ClassTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon()
323 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, in Create()
329 ClassTemplateDecl *PrevDecl) { in Create()
331 ClassTemplateDecl *New = new (C, DC) ClassTemplateDecl(C, DC, L, Name, in Create()
337 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
339 return new (C, ID) ClassTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
343 void ClassTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations()
359 ClassTemplateDecl::getSpecializations() const { in getSpecializations()
365 ClassTemplateDecl::getPartialSpecializations() { in getPartialSpecializations()
371 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
[all …]
DDeclFriend.cpp38 isa<ClassTemplateDecl>(D)); in Create()
DComment.cpp198 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill()
DDeclPrinter.cpp80 void VisitClassTemplateDecl(ClassTemplateDecl *D);
679 else if (ClassTemplateDecl *CTD = in VisitFriendDecl()
680 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
981 void DeclPrinter::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
DASTImporter.cpp135 bool IsStructuralMatch(ClassTemplateDecl *From, ClassTemplateDecl *To);
174 Decl *VisitClassTemplateDecl(ClassTemplateDecl *D);
1380 ClassTemplateDecl *D1, in IsStructurallyEquivalent()
1381 ClassTemplateDecl *D2) { in IsStructurallyEquivalent()
1488 } else if (ClassTemplateDecl *ClassTemplate1 in Finish()
1489 = dyn_cast<ClassTemplateDecl>(D1)) { in Finish()
1490 if (ClassTemplateDecl *ClassTemplate2 = dyn_cast<ClassTemplateDecl>(D2)) { in Finish()
2401 bool ASTNodeImporter::IsStructuralMatch(ClassTemplateDecl *From, in IsStructuralMatch()
2402 ClassTemplateDecl *To) { in IsStructuralMatch()
4403 Decl *ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
[all …]
/external/clang/include/clang/AST/
DDeclTemplate.h34 class ClassTemplateDecl; variable
1546 llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *>
1580 ClassTemplateDecl *SpecializedTemplate,
1590 ClassTemplateDecl *SpecializedTemplate,
1616 ClassTemplateDecl *getSpecializedTemplate() const;
1660 llvm::PointerUnion<ClassTemplateDecl *,
1664 return llvm::PointerUnion<ClassTemplateDecl *,
1672 llvm::PointerUnion<ClassTemplateDecl *,
1679 return SpecializedTemplate.get<ClassTemplateDecl*>();
1717 void setInstantiationOf(ClassTemplateDecl *TemplDecl) {
[all …]
DASTMutationListener.h18 class ClassTemplateDecl; variable
59 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
DDeclFriend.h136 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(ND)) in getSourceRange()
DDeclCXX.h31 class ClassTemplateDecl; variable
616 llvm::PointerUnion<ClassTemplateDecl*, MemberSpecializationInfo*>
1391 ClassTemplateDecl *getDescribedClassTemplate() const;
1393 void setDescribedClassTemplate(ClassTemplateDecl *Template);
/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()
DCXIndexDataConsumer.h25 class ClassTemplateDecl; variable
432 bool handleClassTemplate(const ClassTemplateDecl *D);
DCXIndexDataConsumer.cpp125 bool VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
860 bool CXIndexDataConsumer::handleClassTemplate(const ClassTemplateDecl *D) { in handleClassTemplate()
1049 if (ClassTemplateDecl *TemplD = RD->getDescribedClassTemplate()) in getEntityDecl()
1062 if (const ClassTemplateDecl *ClassTempl = dyn_cast<ClassTemplateDecl>(D)) { in getEntityContainer()
DCursorVisitor.h219 bool VisitClassTemplateDecl(ClassTemplateDecl *D);
/external/clang/include/clang/Sema/
DTemplate.h384 SmallVector<std::pair<ClassTemplateDecl *,
454 SmallVectorImpl<std::pair<ClassTemplateDecl *,
509 ClassTemplateDecl *ClassTemplate,
/external/v8/tools/clang/blink_gc_plugin/
DBlinkGCPluginConsumer.cpp167 ClassTemplateDecl* tmpl = record->getDescribedClassTemplate(); in CheckRecord()
168 for (ClassTemplateDecl::spec_iterator it = tmpl->spec_begin(); in CheckRecord()
513 if (ClassTemplateDecl* tmpl = in CheckTracingMethod()
515 for (ClassTemplateDecl::spec_iterator it = tmpl->spec_begin(); in CheckTracingMethod()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1037 Decl *TemplateDeclInstantiator::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
1062 ClassTemplateDecl *PrevClassTemplate = nullptr; in VisitClassTemplateDecl()
1067 PrevClassTemplate = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplateDecl()
1097 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl()
1165 ClassTemplateDecl *Inst in VisitClassTemplateDecl()
1166 = ClassTemplateDecl::Create(SemaRef.Context, DC, D->getLocation(), in VisitClassTemplateDecl()
1222 ClassTemplateDecl *ClassTemplate = D->getSpecializedTemplate(); in VisitClassTemplatePartialSpecializationDecl()
1231 ClassTemplateDecl *InstClassTemplate in VisitClassTemplatePartialSpecializationDecl()
1232 = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplatePartialSpecializationDecl()
2665 ClassTemplateDecl *ClassTemplate = D->getSpecializedTemplate(); in VisitClassTemplateSpecializationDecl()
[all …]
DSemaTemplate.cpp94 llvm::SmallPtrSet<ClassTemplateDecl *, 8> ClassTemplates; in FilterAcceptableTemplateNames()
112 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl)) in FilterAcceptableTemplateNames()
213 assert(isa<ClassTemplateDecl>(TD) || isa<TemplateTemplateParmDecl>(TD) || in isTemplateName()
377 } else if (!FoundOuter.getAsSingle<ClassTemplateDecl>() || in LookupTemplateName()
942 ClassTemplateDecl *PrevClassTemplate in CheckClassTemplate()
943 = dyn_cast_or_null<ClassTemplateDecl>(PrevDecl); in CheckClassTemplate()
1122 ClassTemplateDecl *NewTemplate in CheckClassTemplate()
1123 = ClassTemplateDecl::Create(Context, SemanticContext, NameLoc, in CheckClassTemplate()
2019 : isa<ClassTemplateDecl>(Template) in NoteAllFoundTemplates()
2206 if (isa<ClassTemplateDecl>(Template)) { in CheckTemplateIdType()
[all …]
DSemaCoroutine.cpp42 ClassTemplateDecl *CoroTraits = Result.getAsSingle<ClassTemplateDecl>(); in lookupPromiseType()
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()
DSemaCXXScopeSpec.cpp101 if (ClassTemplateDecl *ClassTemplate in computeDeclContext()
102 = dyn_cast_or_null<ClassTemplateDecl>( in computeDeclContext()
/external/clang/lib/Frontend/
DASTConsumers.cpp471 ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(I); in PrintDeclContext()
DMultiplexConsumer.cpp110 void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD,
160 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
/external/clang/lib/Index/
DUSRGeneration.cpp82 void VisitClassTemplateDecl(const ClassTemplateDecl *D);
325 void USRGenerator::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
438 if (ClassTemplateDecl *ClassTmpl = CXXRecord->getDescribedClassTemplate()) { in VisitTagDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp319 void VisitClassTemplateDecl(ClassTemplateDecl *D);
1717 ClassTemplateDecl *Template = ReadDeclAs<ClassTemplateDecl>(Record, Idx); in VisitCXXRecordDeclImpl()
1921 void ASTDeclReader::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
1977 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(InstD)) { in VisitClassTemplateSpecializationDeclImpl()
2003 ClassTemplateDecl *CanonPattern = ReadDeclAs<ClassTemplateDecl>(Record,Idx); in VisitClassTemplateSpecializationDeclImpl()
3304 D = ClassTemplateDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp290 if (ClassTemplateDecl *ClassTempl = in createNestedNameSpecifierForScopeOf()

12