Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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.h115 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DCompilerType.h315 const CompilerDeclContext &decl_ctx,
H A DSymbolFile.h213 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp40 const clang::DeclContext *decl_ctx, in FindExternalLexicalDecls() argument
43 if (decl_ctx) { in FindExternalLexicalDecls()
45 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()
144 SetExternalVisibleDeclsForName(decl_ctx, clang_decl_name, method_decls); 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()
[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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h184 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
324 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
353 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
361 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
369 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
391 clang::DeclContext *decl_ctx,
402 GetUniqueNamespaceDeclaration(const char *name, clang::DeclContext *decl_ctx,
409 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
420 CreateParameterDeclaration(clang::DeclContext *decl_ctx,
437 clang::DeclContext *decl_ctx,
[all …]
H A DTypeSystemClang.cpp1273 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateRecordType() argument
1278 if (decl_ctx == nullptr) in CreateRecordType()
1279 decl_ctx = ast.getTranslationUnitDecl(); in CreateRecordType()
1285 return CreateObjCClass(name, decl_ctx, owning_module, isForwardDecl, in CreateRecordType()
1298 decl->setDeclContext(decl_ctx); in CreateRecordType()
1328 if (isa<CXXRecordDecl>(decl_ctx) && exports_symbols) in CreateRecordType()
1338 if (decl_ctx) in CreateRecordType()
1339 decl_ctx->addDecl(decl); in CreateRecordType()
1453 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateFunctionTemplateDecl() argument
1464 func_tmpl_decl->setDeclContext(decl_ctx); in CreateFunctionTemplateDecl()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp235 clang::DeclContext *decl_ctx, in PrepareContextToReceiveMembers() argument
238 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx); in PrepareContextToReceiveMembers()
449 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
451 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
1750 clang::DeclContext *decl_ctx = in ParseStructureLikeDIE() local
1753 PrepareContextToReceiveMembers(m_ast, GetClangASTImporter(), decl_ctx, die, in ParseStructureLikeDIE()
1756 if (attrs.accessibility == eAccessNone && decl_ctx) { in ParseStructureLikeDIE()
1759 const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind(); in ParseStructureLikeDIE()
1772 decl_ctx, GetOwningClangModule(die), attrs.accessibility, in ParseStructureLikeDIE()
1788 decl_ctx, GetOwningClangModule(die), class_template_decl, in ParseStructureLikeDIE()
[all …]
H A DSymbolFileDWARF.h161 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
367 const lldb_private::CompilerDeclContext &decl_ctx);
H A DDWARFASTParserClang.h189 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
H A DSymbolFileDWARF.cpp1392 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1393 auto *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1396 decl_ctx); in ParseDeclsForContext()
2144 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2145 if (!decl_ctx.IsValid()) { in DeclContextMatchesThisSymbolFile()
2152 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2341 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext &decl_ctx, in DIEInDeclContext() argument
2346 if (!decl_ctx.IsValid()) in DIEInDeclContext()
2353 return decl_ctx.IsContainedInLookup(actual_decl_ctx); in DIEInDeclContext()
H A DSymbolFileDWARFDebugMap.h96 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp369 clang::DeclContext *decl_ctx = clang.GetDeclContextForType(record_ct); in AddMember() local
375 record_ct, layout, decl_ctx); in AddMember()
403 clang::DeclContext *decl_ctx = in FinishRecord() local
410 decl_ctx); in FinishRecord()
H A DUdtRecordCompleter.h140 clang::DeclContext *decl_ctx);
H A DSymbolFileNativePDB.h85 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h102 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
242 const lldb_private::CompilerDeclContext &decl_ctx);
H A DSymbolFilePDB.cpp714 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
734 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); in ParseDeclsForContext()
1985 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
1986 if (!decl_ctx.IsValid()) in DeclContextMatchesThisSymbolFile()
1989 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
H A DPDBASTParser.cpp557 auto decl_ctx = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
562 decl_ctx); in CreateLLDBTypeFromPDBType()
567 name.c_str(), m_ast.CreateDeclContext(decl_ctx), 0); in CreateLLDBTypeFromPDBType()
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DSymbolFileOnDemand.cpp257 void SymbolFileOnDemand::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
263 return m_sym_file_impl->ParseDeclsForContext(decl_ctx); in ParseDeclsForContext()
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()
H A DTypeSystem.cpp107 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
H A DCompilerType.cpp525 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
529 return type_system_sp->CreateTypedef(m_type, name, decl_ctx, payload); in CreateTypedef()

12