Home
last modified time | relevance | path

Searched refs:decl_ctx (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DCompilerDeclContext.h42 CompilerDeclContext(TypeSystem *type_system, void *decl_ctx) in CompilerDeclContext() argument
43 : m_type_system(type_system), m_opaque_decl_ctx(decl_ctx) {} in CompilerDeclContext()
105 void SetDeclContext(TypeSystem *type_system, void *decl_ctx) { in SetDeclContext() argument
107 m_opaque_decl_ctx = decl_ctx; in SetDeclContext()
H A DSymbolFileOnDemand.h114 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DCompilerType.h254 const CompilerDeclContext &decl_ctx,
H A DSymbolFile.h211 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
H A DTypeSystem.h270 const CompilerDeclContext &decl_ctx,
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp39 const clang::DeclContext *decl_ctx, in FindExternalLexicalDecls() argument
42 if (decl_ctx) { in FindExternalLexicalDecls()
44 const_cast<clang::DeclContext *>(decl_ctx)); in FindExternalLexicalDecls()
H A DClangASTSource.cpp103 const DeclContext *decl_ctx, DeclarationName clang_decl_name) { in FindExternalVisibleDeclsByName() argument
105 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
118 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
131 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
140 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
152 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
162 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
173 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
179 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
935 const DeclContext *decl_ctx(context.m_decl_context); in FindObjCMethodDecls() local
[all …]
H A DClangASTImporter.cpp130 for (DeclContext *decl_ctx = (decl->*contextFromDecl)(); decl_ctx; in ChainPassesThrough() local
131 decl_ctx = (decl_ctx->*contextFromContext)()) { in ChainPassesThrough()
132 if (decl_ctx == base) { in ChainPassesThrough()
H A DClangExpressionDeclMap.cpp1303 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext(); in LookupFunction() local
1305 if (!decl_ctx) in LookupFunction()
1309 if (decl_ctx.IsClassMethod(nullptr, nullptr, nullptr)) in LookupFunction()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h183 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
314 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
343 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
351 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
359 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
379 clang::DeclContext *decl_ctx,
397 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
407 CreateParameterDeclaration(clang::DeclContext *decl_ctx,
424 clang::DeclContext *decl_ctx,
714 const CompilerDeclContext &decl_ctx,
[all …]
H A DTypeSystemClang.cpp1336 if (decl_ctx) in CreateRecordType()
1814 if (!decl_ctx) in CreateObjCClass()
1863 if (!decl_ctx) in GetUniqueNamespaceDeclaration()
2145 if (!decl_ctx) in CreateFunctionDeclaration()
2327 if (decl_ctx) in CreateEnumerationType()
2388 if (decl_ctx) { in DumpDeclContextHiearchy()
2952 if (!decl_ctx) in IsRuntimeGeneratedType()
4614 if (!decl_ctx) in CreateTypedef()
9586 for (clang::DeclContext *decl_ctx = frame_decl_ctx; decl_ctx != nullptr; in CountDeclLevels() local
9587 decl_ctx = decl_ctx->getParent()) { in CountDeclLevels()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp32 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() argument
42 static_cast<void *>(&decl_ctx->getParentASTContext()), in FindExternalVisibleDeclsByName()
43 name.getAsString().c_str(), decl_ctx->getDeclKindName(), in FindExternalVisibleDeclsByName()
44 static_cast<const void *>(decl_ctx)); in FindExternalVisibleDeclsByName()
49 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName()
66 SetNoExternalVisibleDeclsForName(decl_ctx, name); in FindExternalVisibleDeclsByName()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp464 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
466 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
1685 clang::DeclContext *decl_ctx = in ParseStructureLikeDIE() local
2327 sstr << decl_ctx.GetQualifiedName(); in ParseFunctionFromDWARF()
3206 if (decl_ctx) in GetClangDeclContextForDIE()
3207 return decl_ctx; in GetClangDeclContextForDIE()
3218 decl_ctx = ResolveNamespaceDIE(die); in GetClangDeclContextForDIE()
3223 decl_ctx = GetDeclContextForBlock(die); in GetClangDeclContextForDIE()
3237 if (decl_ctx) { in GetClangDeclContextForDIE()
3238 LinkDeclContextToDIE(decl_ctx, die); in GetClangDeclContextForDIE()
[all …]
H A DSymbolFileDWARF.h160 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
349 const lldb_private::CompilerDeclContext &decl_ctx);
H A DDWARFASTParserClang.h168 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
H A DSymbolFileDWARF.cpp1364 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1365 auto *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1368 decl_ctx); in ParseDeclsForContext()
2099 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2100 if (!decl_ctx.IsValid()) { in DeclContextMatchesThisSymbolFile()
2107 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2296 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext &decl_ctx, in DIEInDeclContext() argument
2301 if (!decl_ctx.IsValid()) in DIEInDeclContext()
2308 return decl_ctx.IsContainedInLookup(actual_decl_ctx); in DIEInDeclContext()
H A DSymbolFileDWARFDebugMap.h94 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h101 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
242 const lldb_private::CompilerDeclContext &decl_ctx);
H A DSymbolFilePDB.cpp710 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
729 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); in ParseDeclsForContext()
1974 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
1975 if (!decl_ctx.IsValid()) in DeclContextMatchesThisSymbolFile()
1978 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
H A DPDBASTParser.cpp550 auto decl_ctx = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
555 decl_ctx); in CreateLLDBTypeFromPDBType()
560 name.c_str(), m_ast.CreateDeclContext(decl_ctx), 0); in CreateLLDBTypeFromPDBType()
/llvm-project-15.0.7/lldb/source/Symbol/
H A DSymbolFileOnDemand.cpp256 void SymbolFileOnDemand::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
262 return m_sym_file_impl->ParseDeclsForContext(decl_ctx); in ParseDeclsForContext()
H A DCompilerType.cpp456 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
459 return m_type_system->CreateTypedef(m_type, name, decl_ctx, payload); in CreateTypedef()
H A DTypeSystem.cpp108 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
H A DSymbolContext.cpp549 CompilerDeclContext decl_ctx = function_block->GetDeclContext(); in GetFunctionMethodInfo() local
550 if (decl_ctx) in GetFunctionMethodInfo()
551 return decl_ctx.IsClassMethod(&language, &is_instance_method, in GetFunctionMethodInfo()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h84 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;

12