/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 494 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, DeclContext *DC, in Create() 500 auto *TD = new (C, DC) ClassTemplateDecl(C, DC, L, Name, Params, Decl); in Create() 506 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 508 return new (C, ID) ClassTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 512 void ClassTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 517 ClassTemplateDecl::getSpecializations() const { in getSpecializations() 523 ClassTemplateDecl::getPartialSpecializations() const { in getPartialSpecializations() 529 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 536 ClassTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args, in findSpecialization() 541 void ClassTemplateDecl::AddSpecialization(ClassTemplateSpecializationDecl *D, in AddSpecialization() [all …]
|
H A D | DeclFriend.cpp | 45 isa<ClassTemplateDecl>(D)); in Create()
|
H A D | CXXInheritance.cpp | 258 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl())) in lookupInBases() 423 const auto *TD = dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in findOrdinaryMemberInDependentClasses()
|
H A D | ASTDumper.cpp | 166 void ASTDumper::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
|
H A D | DeclPrinter.cpp | 86 void VisitClassTemplateDecl(ClassTemplateDecl *D); 883 else if (ClassTemplateDecl *CTD = in VisitFriendDecl() 884 dyn_cast<ClassTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl() 1297 void DeclPrinter::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 48 class ClassTemplateDecl; variable 1826 llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *> 1847 ClassTemplateDecl *SpecializedTemplate, 1860 ClassTemplateDecl *SpecializedTemplate, 1880 ClassTemplateDecl *getSpecializedTemplate() const; 1924 void setSpecializedTemplate(ClassTemplateDecl *Specialized) { 1946 llvm::PointerUnion<ClassTemplateDecl *, 1950 return llvm::PointerUnion<ClassTemplateDecl *, 1958 llvm::PointerUnion<ClassTemplateDecl *, 1965 return SpecializedTemplate.get<ClassTemplateDecl*>(); [all …]
|
H A D | ASTMutationListener.h | 17 class ClassTemplateDecl; variable 63 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
H A D | ASTDumper.h | 45 void VisitClassTemplateDecl(const ClassTemplateDecl *D);
|
H A D | DeclFriend.h | 153 if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND)) in getSourceRange()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 213 llvm::PointerUnion<ClassTemplateDecl *, in gatherTemplatePseudoOverrides() 216 if (const auto *CTD = Template.dyn_cast<ClassTemplateDecl *>()) { in gatherTemplatePseudoOverrides() 220 if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND)) in gatherTemplatePseudoOverrides() 664 llvm::PointerUnion<ClassTemplateDecl *, in VisitClassTemplateSpecializationDecl() 668 Template.is<ClassTemplateDecl *>() in VisitClassTemplateSpecializationDecl() 669 ? (Decl *)Template.get<ClassTemplateDecl *>() in VisitClassTemplateSpecializationDecl() 756 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext()) in VisitFriendDecl()
|
H A D | IndexTypeSourceInfo.cpp | 220 const ClassTemplateDecl *TD = in VisitDependentNameTypeLoc() 221 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in VisitDependentNameTypeLoc()
|
H A D | IndexBody.cpp | 178 const ClassTemplateDecl *TD = in indexDependentReference() 179 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in indexDependentReference()
|
H A D | USRGeneration.cpp | 93 void VisitClassTemplateDecl(const ClassTemplateDecl *D); 398 void USRGenerator::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl() 530 if (ClassTemplateDecl *ClassTmpl = CXXRecord->getDescribedClassTemplate()) { in VisitTagDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeductionGuide.cpp | 63 ClassTemplateDecl *NestedPattern; 72 ClassTemplateDecl *NestedPattern = nullptr, in ExtractTypeForDeductionGuide() 291 ClassTemplateDecl *Template) in ConvertConstructorToDeductionGuideTransform() 295 ClassTemplateDecl *Pattern = Template; in ConvertConstructorToDeductionGuideTransform() 308 ClassTemplateDecl *Template; 309 ClassTemplateDecl *NestedPattern = nullptr; 1328 *this, cast<ClassTemplateDecl>(Template)); in DeclareAggregateDeductionGuideFromInitList() 1344 ClassTemplateDecl *Pattern = in DeclareAggregateDeductionGuideFromInitList() 1375 *this, cast<ClassTemplateDecl>(Template)); in DeclareImplicitDeductionGuides() 1397 ClassTemplateDecl *Pattern = in DeclareImplicitDeductionGuides()
|
H A D | HLSLExternalSemaSource.cpp | 33 ClassTemplateDecl *Template = nullptr; 34 ClassTemplateDecl *PrevTemplate = nullptr; 52 if (auto *TD = dyn_cast<ClassTemplateDecl>(Found)) { in BuiltinTypeDeclBuilder() 353 Builder.Template = ClassTemplateDecl::Create( in finalizeTemplateArgs()
|
H A D | SemaTemplateInstantiateDecl.cpp | 1649 Decl *TemplateDeclInstantiator::VisitClassTemplateDecl(ClassTemplateDecl *D) { in VisitClassTemplateDecl() 1674 ClassTemplateDecl *PrevClassTemplate = nullptr; in VisitClassTemplateDecl() 1679 PrevClassTemplate = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplateDecl() 1710 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl() 1733 ClassTemplateDecl *Inst in VisitClassTemplateDecl() 1734 = ClassTemplateDecl::Create(SemaRef.Context, DC, D->getLocation(), in VisitClassTemplateDecl() 1748 const ClassTemplateDecl *MostRecentPrevCT = in VisitClassTemplateDecl() 1815 ClassTemplateDecl *ClassTemplate = D->getSpecializedTemplate(); in VisitClassTemplatePartialSpecializationDecl() 1824 ClassTemplateDecl *InstClassTemplate in VisitClassTemplatePartialSpecializationDecl() 1825 = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplatePartialSpecializationDecl() [all …]
|
H A D | SemaCoroutine.cpp | 59 ClassTemplateDecl *CoroTraits = in lookupPromiseType() 157 ClassTemplateDecl *CoroHandle = Result.getAsSingle<ClassTemplateDecl>(); in lookupCoroutineHandleType() 1924 ClassTemplateDecl *Sema::lookupCoroutineTraits(SourceLocation KwLoc, in lookupCoroutineTraits() 1944 StdCoroutineTraitsCache = Result.getAsSingle<ClassTemplateDecl>(); in lookupCoroutineTraits()
|
H A D | SemaAccess.cpp | 461 ClassTemplateDecl *Friend) { in MatchesFriend() 471 ClassTemplateDecl *CTD; in MatchesFriend() 577 if (isa<ClassTemplateDecl>(Friend)) in MatchesFriend() 578 return MatchesFriend(S, EC, cast<ClassTemplateDecl>(Friend)); in MatchesFriend()
|
H A D | SemaCXXScopeSpec.cpp | 79 if (ClassTemplateDecl *ClassTemplate in computeDeclContext() 80 = dyn_cast_or_null<ClassTemplateDecl>( in computeDeclContext()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InterfaceStubFunctionsConsumer.cpp | 74 if (isa<ClassTemplateDecl>(RC->getParent()) || !isVisible(RC)) in WriteNamedDecl() 157 void HandleTemplateSpecializations(const ClassTemplateDecl &CTD, in HandleTemplateSpecializations() 181 HandleTemplateSpecializations(*cast<ClassTemplateDecl>(ND), Symbols, RDO); in HandleNamedDecl()
|
H A D | MultiplexConsumer.cpp | 94 void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, 153 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | CxxModuleHandler.cpp | 222 ClassTemplateDecl *new_class_template = nullptr; in tryInstantiateStdTemplate() 224 if ((new_class_template = dyn_cast<ClassTemplateDecl>(LD))) in tryInstantiateStdTemplate()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 573 SmallVector<std::pair<ClassTemplateDecl *, 662 ClassTemplateDecl *, ClassTemplatePartialSpecializationDecl *>>::iterator; 717 ClassTemplateDecl *ClassTemplate,
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedCallArgsChecker.cpp | 56 bool TraverseClassTemplateDecl(ClassTemplateDecl *Decl) { in checkASTDecl()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.h | 428 clang::ClassTemplateDecl *CreateClassTemplateDecl( 438 clang::ClassTemplateDecl *class_template_decl, int kind, 1095 clang::ClassTemplateDecl *ParseClassTemplateDecl(
|