Home
last modified time | relevance | path

Searched refs:castToDeclContext (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h1191 static DeclContext *castToDeclContext(const Decl *);
2661 return *FromTy::castToDeclContext(&Val);
2668 return FromTy::castToDeclContext(Val);
2675 return *FromTy::castToDeclContext(&Val);
2682 return FromTy::castToDeclContext(Val);
H A DDeclOpenMP.h269 static DeclContext *castToDeclContext(const OMPDeclareReductionDecl *D) { in castToDeclContext() function
368 static DeclContext *castToDeclContext(const OMPDeclareMapperDecl *D) { in castToDeclContext() function
H A DDecl.h128 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext() function
234 static DeclContext *castToDeclContext(const ExternCContextDecl *D) { in castToDeclContext() function
663 static DeclContext *castToDeclContext(const NamespaceDecl *D) { in castToDeclContext() function
2864 static DeclContext *castToDeclContext(const FunctionDecl *D) { in castToDeclContext() function
3634 static DeclContext *castToDeclContext(const TagDecl *D) { in castToDeclContext() function
4399 static DeclContext *castToDeclContext(const BlockDecl *D) { in castToDeclContext() function
4495 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() function
4641 static DeclContext *castToDeclContext(const ExportDecl *D) { in castToDeclContext() function
H A DDeclObjC.h547 static DeclContext *castToDeclContext(const ObjCMethodDecl *D) { in castToDeclContext() function
1116 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext() function
H A DDeclCXX.h2896 static DeclContext *castToDeclContext(const LinkageSpecDecl *D) { in castToDeclContext() function
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp329 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()
570 return clang::Decl::castToDeclContext(decl); in GetOrCreateDeclContextForUid()
595 return {clang::TagDecl::castToDeclContext(tag), std::string(uname)}; in CreateDeclInfoForUndecoratedName()
638 return clang::TagDecl::castToDeclContext(tag); in GetParentDeclContextForSymbol()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp671 if (Decl::castToDeclContext(NsDecl)->decls_empty()) in moveOldNamespace()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCUDANV.cpp346 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in emitDeviceStubBodyNew()
H A DCGObjCGNU.cpp1237 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetClassVar()
2330 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in EmitNSAutoreleasePoolClassRef()
H A DCGBlocks.cpp2834 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in configureBlocksRuntimeObject()
H A DCodeGenModule.cpp4083 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetRuntimeFunctionDecl()
5502 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetAddrOfConstantCFString()
H A DCGObjCMac.cpp6469 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in getStorage()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp934 DeclContext *Decl::castToDeclContext(const Decl *D) { in castToDeclContext() function in Decl
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.cpp1011 clang::DeclContext *ctxt = clang::Decl::castToDeclContext(namespace_decl); in LookupLocalVarNamespace()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp4716 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4746 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()