/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 319 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 …]
|
D | DeclFriend.cpp | 38 isa<ClassTemplateDecl>(D)); in Create()
|
D | Comment.cpp | 198 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclTemplate.cpp | 415 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, in Create() 423 return new (C, DC) ClassTemplateDecl(C, DC, L, Name, Params, Decl); in Create() 426 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 428 return new (C, ID) ClassTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 432 void ClassTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 437 ClassTemplateDecl::getSpecializations() const { in getSpecializations() 443 ClassTemplateDecl::getPartialSpecializations() const { in getPartialSpecializations() 449 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 456 ClassTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args, in findSpecialization() 461 void ClassTemplateDecl::AddSpecialization(ClassTemplateSpecializationDecl *D, in AddSpecialization() [all …]
|
D | DeclFriend.cpp | 45 isa<ClassTemplateDecl>(D)); in Create()
|
D | Comment.cpp | 273 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 34 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 …]
|
D | ASTMutationListener.h | 18 class ClassTemplateDecl; variable 59 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | DeclFriend.h | 136 if (ClassTemplateDecl *CTD = dyn_cast<ClassTemplateDecl>(ND)) in getSourceRange()
|
/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()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndexCXX.cpp | 97 llvm::PointerUnion<ClassTemplateDecl *, in clang_getSpecializedCursorTemplate() 100 if (Result.is<ClassTemplateDecl *>()) in clang_getSpecializedCursorTemplate() 101 Template = Result.get<ClassTemplateDecl *>(); in clang_getSpecializedCursorTemplate()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclTemplate.h | 46 class ClassTemplateDecl; variable 1814 llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *> 1849 ClassTemplateDecl *SpecializedTemplate, 1862 ClassTemplateDecl *SpecializedTemplate, 1882 ClassTemplateDecl *getSpecializedTemplate() const; 1926 void setSpecializedTemplate(ClassTemplateDecl *Specialized) { 1948 llvm::PointerUnion<ClassTemplateDecl *, 1952 return llvm::PointerUnion<ClassTemplateDecl *, 1960 llvm::PointerUnion<ClassTemplateDecl *, 1967 return SpecializedTemplate.get<ClassTemplateDecl*>(); [all …]
|
D | ASTMutationListener.h | 17 class ClassTemplateDecl; variable 61 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | ASTDumper.h | 44 void VisitClassTemplateDecl(const ClassTemplateDecl *D);
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TypeHierarchyTests.cpp | 204 dyn_cast<ClassTemplateDecl>(&findDecl(AST, "Child"))->getTemplatedDecl(); in TEST() 250 dyn_cast<ClassTemplateDecl>(&findDecl(AST, "Parent"))->getTemplatedDecl(); in TEST() 279 dyn_cast<ClassTemplateDecl>(&findDecl(AST, "Child"))->getTemplatedDecl(); in TEST() 306 dyn_cast<ClassTemplateDecl>(&findDecl(AST, "Parent"))->getTemplatedDecl(); in TEST() 308 dyn_cast<ClassTemplateDecl>(&findDecl(AST, "Child1"))->getTemplatedDecl(); in TEST() 310 dyn_cast<ClassTemplateDecl>(&findDecl(AST, "Child2"))->getTemplatedDecl(); in TEST() 312 dyn_cast<ClassTemplateDecl>(&findDecl(AST, "Child3"))->getTemplatedDecl(); in TEST()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexDecl.cpp | 207 llvm::PointerUnion<ClassTemplateDecl *, in gatherTemplatePseudoOverrides() 210 if (const auto *CTD = Template.dyn_cast<ClassTemplateDecl *>()) { in gatherTemplatePseudoOverrides() 214 if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND)) in gatherTemplatePseudoOverrides() 642 llvm::PointerUnion<ClassTemplateDecl *, in VisitClassTemplateSpecializationDecl() 646 Template.is<ClassTemplateDecl *>() in VisitClassTemplateSpecializationDecl() 647 ? (Decl *)Template.get<ClassTemplateDecl *>() in VisitClassTemplateSpecializationDecl() 712 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext()) in VisitFriendDecl()
|
D | IndexTypeSourceInfo.cpp | 210 const ClassTemplateDecl *TD = in VisitDependentNameTypeLoc() 211 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in VisitDependentNameTypeLoc()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 951 auto ToExpectedDecl = FirstDeclMatcher<ClassTemplateDecl>().match( in TEST_P() 981 FirstDeclMatcher<ClassTemplateDecl>().match(FromTU, classTemplateDecl()); in TEST_P() 983 auto To = cast<ClassTemplateDecl>(Import(From, Lang_CXX03)); in TEST_P() 1009 FirstDeclMatcher<ClassTemplateDecl>().match(FromTU, classTemplateDecl()); in TEST_P() 1017 FirstDeclMatcher<ClassTemplateDecl>().match(ToTU, classTemplateDecl()); in TEST_P() 1052 FirstDeclMatcher<ClassTemplateDecl>().match(FromTU, in TEST_P() 1056 FirstDeclMatcher<ClassTemplateDecl>().match(ToNs, in TEST_P() 1439 auto *FromD = FirstDeclMatcher<ClassTemplateDecl>().match( in TEST_P() 1457 auto *FromCTD = FirstDeclMatcher<ClassTemplateDecl>().match( in TEST_P() 1459 auto *ToCTD = cast<ClassTemplateDecl>(Import(FromCTD, Lang_CXX03)); in TEST_P() [all …]
|
/external/clang/include/clang/Sema/ |
D | Template.h | 384 SmallVector<std::pair<ClassTemplateDecl *, 454 SmallVectorImpl<std::pair<ClassTemplateDecl *, 509 ClassTemplateDecl *ClassTemplate,
|
/external/llvm-project/clang/lib/Frontend/ |
D | InterfaceStubFunctionsConsumer.cpp | 73 if (isa<ClassTemplateDecl>(RC->getParent()) || !isVisible(RC)) in WriteNamedDecl() 156 void HandleTemplateSpecializations(const ClassTemplateDecl &CTD, in HandleTemplateSpecializations() 180 HandleTemplateSpecializations(*cast<ClassTemplateDecl>(ND), Symbols, RDO); in HandleNamedDecl()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Template.h | 476 SmallVector<std::pair<ClassTemplateDecl *, 557 ClassTemplateDecl *, ClassTemplatePartialSpecializationDecl *>>::iterator; 611 ClassTemplateDecl *ClassTemplate,
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | CxxModuleHandler.cpp | 216 ClassTemplateDecl *new_class_template = nullptr; in tryInstantiateStdTemplate() 218 if ((new_class_template = dyn_cast<ClassTemplateDecl>(LD))) in tryInstantiateStdTemplate()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | USRFindingAction.cpp | 81 dyn_cast<ClassTemplateDecl>(FoundDecl)) { in Find() 128 void handleClassTemplateDecl(const ClassTemplateDecl *TemplateDecl) { in handleClassTemplateDecl()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 1037 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 …]
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 471 ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(I); in PrintDeclContext()
|