Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclTemplate.cpp460 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, DeclContext *DC, in Create()
472 ClassTemplateDecl *ClassTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
483 ClassTemplateDecl::getSpecializations() const { in getSpecializations()
489 ClassTemplateDecl::getPartialSpecializations() const { in getPartialSpecializations()
495 ClassTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
513 ClassTemplateDecl::findPartialSpecialization( in findPartialSpecialization()
563 void ClassTemplateDecl::AddPartialSpecialization( in AddPartialSpecialization()
579 void ClassTemplateDecl::getPartialSpecializations( in getPartialSpecializations()
983 ClassTemplateDecl *
1018 llvm::PointerUnion<ClassTemplateDecl *, in getSourceRange()
[all …]
H A DDeclFriend.cpp45 isa<ClassTemplateDecl>(D)); in Create()
H A DComment.cpp276 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl); in fill()
H A DCXXInheritance.cpp257 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl())) in lookupInBases()
422 const auto *TD = dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in findOrdinaryMemberInDependentClasses()
H A DASTDumper.cpp166 void ASTDumper::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCIndexCXX.cpp97 llvm::PointerUnion<ClassTemplateDecl *, in clang_getSpecializedCursorTemplate()
100 if (Result.is<ClassTemplateDecl *>()) in clang_getSpecializedCursorTemplate()
101 Template = Result.get<ClassTemplateDecl *>(); in clang_getSpecializedCursorTemplate()
H A DCXIndexDataConsumer.h23 class ClassTemplateDecl; variable
408 bool handleClassTemplate(const ClassTemplateDecl *D);
H A DCXIndexDataConsumer.cpp124 bool VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
874 bool CXIndexDataConsumer::handleClassTemplate(const ClassTemplateDecl *D) { in handleClassTemplate()
1058 if (ClassTemplateDecl *TemplD = RD->getDescribedClassTemplate()) in getEntityDecl()
1071 if (const ClassTemplateDecl *ClassTempl = dyn_cast<ClassTemplateDecl>(D)) { in getEntityContainer()
H A DCursorVisitor.h227 bool VisitClassTemplateDecl(ClassTemplateDecl *D);
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclTemplate.h48 class ClassTemplateDecl; variable
1976 llvm::PointerUnion<ClassTemplateDecl *,
1988 llvm::PointerUnion<ClassTemplateDecl *,
2348 return cast<ClassTemplateDecl>(
2352 return cast<ClassTemplateDecl>(
2358 ClassTemplateDecl *getPreviousDecl() {
2359 return cast_or_null<ClassTemplateDecl>(
2363 return cast_or_null<ClassTemplateDecl>(
2368 ClassTemplateDecl *getMostRecentDecl() {
2369 return cast<ClassTemplateDecl>(
[all …]
H A DASTMutationListener.h17 class ClassTemplateDecl; variable
61 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization()
H A DASTDumper.h45 void VisitClassTemplateDecl(const ClassTemplateDecl *D);
H A DDeclFriend.h152 if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND)) in getSourceRange()
/openbsd/gnu/llvm/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()
750 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.cpp167 const ClassTemplateDecl *TD = in indexDependentReference()
168 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in indexDependentReference()
H A DUSRGeneration.cpp91 void VisitClassTemplateDecl(const ClassTemplateDecl *D);
380 void USRGenerator::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
512 if (ClassTemplateDecl *ClassTmpl = CXXRecord->getDescribedClassTemplate()) { in VisitTagDecl()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp73 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()
H A DMultiplexConsumer.cpp91 void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD,
145 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp33 ClassTemplateDecl *Template = nullptr;
34 ClassTemplateDecl *PrevTemplate = nullptr;
52 if (auto *TD = dyn_cast<ClassTemplateDecl>(Found)) { in BuiltinTypeDeclBuilder()
349 Builder.Template = ClassTemplateDecl::Create( in finalizeTemplateArgs()
H A DSemaCoroutine.cpp58 ClassTemplateDecl *CoroTraits = in lookupPromiseType()
156 ClassTemplateDecl *CoroHandle = Result.getAsSingle<ClassTemplateDecl>(); in lookupCoroutineHandleType()
1844 ClassTemplateDecl *Sema::lookupCoroutineTraits(SourceLocation KwLoc, in lookupCoroutineTraits()
1877 StdCoroutineTraitsCache = Result.getAsSingle<ClassTemplateDecl>(); in lookupCoroutineTraits()
1894 StdCoroutineTraitsCache != ResExp.getAsSingle<ClassTemplateDecl>()) { in lookupCoroutineTraits()
H A DSemaTemplateInstantiateDecl.cpp1593 ClassTemplateDecl *PrevClassTemplate = nullptr; in VisitClassTemplateDecl()
1629 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl()
1642 const ClassTemplateDecl *MostRecentPrevCT = in VisitClassTemplateDecl()
1673 ClassTemplateDecl *Inst in VisitClassTemplateDecl()
1741 ClassTemplateDecl *InstClassTemplate in VisitClassTemplatePartialSpecializationDecl()
1742 = dyn_cast<ClassTemplateDecl>(Found.front()); in VisitClassTemplatePartialSpecializationDecl()
3742 ClassTemplateDecl *InstClassTemplate = in VisitClassTemplateSpecializationDecl()
5771 static bool isInstantiationOf(ClassTemplateDecl *Pattern, in isInstantiationOf()
5772 ClassTemplateDecl *Instance) { in isInstantiationOf()
5931 if (auto *Temp = dyn_cast<ClassTemplateDecl>(Other)) in isInstantiationOf()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DTemplate.h541 SmallVector<std::pair<ClassTemplateDecl *,
632 ClassTemplateDecl *, ClassTemplatePartialSpecializationDecl *>>::iterator;
686 ClassTemplateDecl *ClassTemplate,
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp81 dyn_cast<ClassTemplateDecl>(FoundDecl)) { in Find()
128 void handleClassTemplateDecl(const ClassTemplateDecl *TemplateDecl) { in handleClassTemplateDecl()

123