Home
last modified time | relevance | path

Searched refs:castFromDeclContext (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h133 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
239 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
657 static NamespaceDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
3024 static FunctionDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
3832 static TagDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4459 static TopLevelStmtDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4657 static BlockDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4753 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4899 static ExportDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4956 static HLSLBufferDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
H A DDeclOpenMP.h272 static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
371 static OMPDeclareMapperDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
H A DDeclBase.h1233 static Decl *castFromDeclContext(const DeclContext *);
2776 return static_cast<const ToTy*>(Decl::castFromDeclContext(Val));
2780 return static_cast<ToTy*>(Decl::castFromDeclContext(Val));
H A DDeclObjC.h547 static ObjCMethodDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
1122 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
H A DDeclCXX.h2058 static RequiresExprBodyDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
3007 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp252 clang::Decl *scope_decl = clang::Decl::castFromDeclContext(scope); in GetOrCreateSymbolForId()
1389 clang::Decl *decl = clang::Decl::castFromDeclContext(&context); in ParseDeclsForSimpleContext()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp490 Decl *Ctx = Decl::castFromDeclContext(NamedTemplate->getDeclContext()); in printEntryName()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1042 Decl *Decl::castFromDeclContext (const DeclContext *D) { in castFromDeclContext() function in Decl
H A DExpr.cpp915 const Decl *D = Decl::castFromDeclContext(DC); in ComputeName()
H A DASTContext.cpp203 Decl::castFromDeclContext(DeclCtx)->getLocation().isMacroID())) { in getDeclLocsForCommentSearch()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp71 R.NextDecl = Decl::castFromDeclContext(Ctx); in ChangeDecl()
477 CurDecl = Decl::castFromDeclContext(DC); in getTemplateInstantiationArgs()
H A DSemaStmt.cpp969 dyn_cast<FunctionDecl>(Decl::castFromDeclContext(CurContext)); in ActOnIfStmt()
H A DSemaDecl.cpp19686 if (cast<EnumDecl>(TagDecl::castFromDeclContext(ECD->getDeclContext())) != in ValidDuplicateEnum()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7708 return InnerMatcher.matches(*Decl::castFromDeclContext(DC), Finder, Builder); in AST_MATCHER_P()