Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp494 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 DDeclFriend.cpp45 isa<ClassTemplateDecl>(D)); in Create()
H A DCXXInheritance.cpp258 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl())) in lookupInBases()
423 const auto *TD = dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in findOrdinaryMemberInDependentClasses()
H A DASTDumper.cpp166 void ASTDumper::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
H A DDeclPrinter.cpp86 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 DDeclTemplate.h48 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 DASTMutationListener.h17 class ClassTemplateDecl; variable
63 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
H A DASTDumper.h45 void VisitClassTemplateDecl(const ClassTemplateDecl *D);
H A DDeclFriend.h153 if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND)) in getSourceRange()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp213 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 DIndexTypeSourceInfo.cpp220 const ClassTemplateDecl *TD = in VisitDependentNameTypeLoc()
221 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in VisitDependentNameTypeLoc()
H A DIndexBody.cpp178 const ClassTemplateDecl *TD = in indexDependentReference()
179 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in indexDependentReference()
H A DUSRGeneration.cpp93 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 DSemaTemplateDeductionGuide.cpp63 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 DHLSLExternalSemaSource.cpp33 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 DSemaTemplateInstantiateDecl.cpp1649 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 DSemaCoroutine.cpp59 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 DSemaAccess.cpp461 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 DSemaCXXScopeSpec.cpp79 if (ClassTemplateDecl *ClassTemplate in computeDeclContext()
80 = dyn_cast_or_null<ClassTemplateDecl>( in computeDeclContext()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp74 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 DMultiplexConsumer.cpp94 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 DCxxModuleHandler.cpp222 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 DTemplate.h573 SmallVector<std::pair<ClassTemplateDecl *,
662 ClassTemplateDecl *, ClassTemplatePartialSpecializationDecl *>>::iterator;
717 ClassTemplateDecl *ClassTemplate,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp56 bool TraverseClassTemplateDecl(ClassTemplateDecl *Decl) { in checkASTDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h428 clang::ClassTemplateDecl *CreateClassTemplateDecl(
438 clang::ClassTemplateDecl *class_template_decl, int kind,
1095 clang::ClassTemplateDecl *ParseClassTemplateDecl(

123