Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h130 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext() function
236 static DeclContext *castToDeclContext(const ExternCContextDecl *D) { in castToDeclContext() function
654 static DeclContext *castToDeclContext(const NamespaceDecl *D) { in castToDeclContext() function
3021 static DeclContext *castToDeclContext(const FunctionDecl *D) { in castToDeclContext() function
3828 static DeclContext *castToDeclContext(const TagDecl *D) { in castToDeclContext() function
4456 static DeclContext *castToDeclContext(const TopLevelStmtDecl *D) { in castToDeclContext() function
4654 static DeclContext *castToDeclContext(const BlockDecl *D) { in castToDeclContext() function
4750 static DeclContext *castToDeclContext(const CapturedDecl *D) { in castToDeclContext() function
4896 static DeclContext *castToDeclContext(const ExportDecl *D) { in castToDeclContext() function
4953 static DeclContext *castToDeclContext(const HLSLBufferDecl *D) { in castToDeclContext() function
H A DDeclBase.h1232 static DeclContext *castToDeclContext(const Decl *);
2843 return *FromTy::castToDeclContext(&Val);
2850 return FromTy::castToDeclContext(Val);
2857 return *FromTy::castToDeclContext(&Val);
2864 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 DDeclObjC.h543 static DeclContext *castToDeclContext(const ObjCMethodDecl *D) { in castToDeclContext() function
1118 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext() function
H A DDeclCXX.h2054 static DeclContext *castToDeclContext(const RequiresExprBodyDecl *D) { in castToDeclContext() function
3003 static DeclContext *castToDeclContext(const LinkageSpecDecl *D) { in castToDeclContext() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp226 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()
319 return clang::Decl::castToDeclContext(decl); in GetOrCreateDeclContextForUid()
347 return {clang::TagDecl::castToDeclContext(tag), std::string(uname)}; in CreateDeclInfoForUndecoratedName()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp348 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in emitDeviceStubBodyNew()
H A DCGObjCGNU.cpp1250 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetClassVar()
2443 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in EmitNSAutoreleasePoolClassRef()
H A DCGBlocks.cpp2807 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in configureBlocksRuntimeObject()
H A DCodeGenModule.cpp4811 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetRuntimeFunctionDecl()
6261 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in GetAddrOfConstantCFString()
H A DCGObjCMac.cpp6442 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl); in getStorage()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.cpp1006 clang::DeclContext *ctxt = clang::Decl::castToDeclContext(namespace_decl); in LookupLocalVarNamespace()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1055 DeclContext *Decl::castToDeclContext(const Decl *D) { in castToDeclContext() function in Decl
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4474 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
4505 DeclContext *DC = CapturedDecl::castToDeclContext(CD); in ActOnCapturedRegionStart()
H A DSemaTemplate.cpp5574 NewContext = Decl::castToDeclContext(TD->getTemplatedDecl()); in CheckTemplateArgumentList()