Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardDeclarationNamespaceCheck.cpp98 auto *Ns1 = NamespaceDecl::castFromDeclContext(ParentDecl1); in haveSameNamespaceOrTranslationUnit()
99 auto *Ns2 = NamespaceDecl::castFromDeclContext(ParentDecl2); in haveSameNamespaceOrTranslationUnit()
/llvm-project-15.0.7/clang/include/clang/AST/
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 DDecl.h131 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
237 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
666 static NamespaceDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
2867 static FunctionDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
3638 static TagDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4402 static BlockDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4498 static CapturedDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
4644 static ExportDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
H A DDeclBase.h1192 static Decl *castFromDeclContext(const DeclContext *);
2594 return static_cast<const ToTy*>(Decl::castFromDeclContext(Val));
2598 return static_cast<ToTy*>(Decl::castFromDeclContext(Val));
H A DDeclObjC.h551 static ObjCMethodDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
1120 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
H A DDeclCXX.h2900 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() function
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp504 clang::Decl *scope_decl = clang::Decl::castFromDeclContext(scope); in GetOrCreateSymbolForId()
1610 clang::Decl *decl = clang::Decl::castFromDeclContext(&context); in ParseDeclsForSimpleContext()
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A DMove.cpp46 return InnerMatcher.matches(*Decl::castFromDeclContext(Context), Finder, in AST_MATCHER_P()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp516 Decl *Ctx = Decl::castFromDeclContext(NamedTemplate->getDeclContext()); in printEntryName()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp915 Decl *Decl::castFromDeclContext (const DeclContext *D) { in castFromDeclContext() function in Decl
H A DExpr.cpp839 const Decl *D = Decl::castFromDeclContext(DC); in ComputeName()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7405 return InnerMatcher.matches(*Decl::castFromDeclContext(DC), Finder, Builder); in AST_MATCHER_P()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp938 dyn_cast<FunctionDecl>(Decl::castFromDeclContext(CurContext)); in ActOnIfStmt()
H A DSemaDecl.cpp18787 if (cast<EnumDecl>(TagDecl::castFromDeclContext(ECD->getDeclContext())) != in ValidDuplicateEnum()