Home
last modified time | relevance | path

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

/external/llvm-project/lldb/include/lldb/Symbol/
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()
DSymbolFile.h199 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
DCompilerType.h247 const CompilerDeclContext &decl_ctx,
DTypeSystem.h266 const CompilerDeclContext &decl_ctx,
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
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()
DClangASTSource.cpp100 const DeclContext *decl_ctx, DeclarationName clang_decl_name) { in FindExternalVisibleDeclsByName() argument
102 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
115 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
128 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
137 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
141 SetExternalVisibleDeclsForName(decl_ctx, clang_decl_name, method_decls); in FindExternalVisibleDeclsByName()
149 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
159 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
170 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
176 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
[all …]
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()
DClangExpressionDeclMap.cpp1276 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext(); in LookupFunction() local
1278 if (!decl_ctx) in LookupFunction()
1282 if (decl_ctx.IsClassMethod(nullptr, nullptr, nullptr)) in LookupFunction()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.h186 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
312 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
339 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
347 CreateClassTemplateDecl(clang::DeclContext *decl_ctx,
356 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
376 clang::DeclContext *decl_ctx,
394 GetUniqueNamespaceDeclaration(const char *name, clang::DeclContext *decl_ctx,
401 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
418 CreateParameterDeclaration(clang::DeclContext *decl_ctx,
435 clang::DeclContext *decl_ctx,
[all …]
DTypeSystemClang.cpp1284 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateRecordType() argument
1289 if (decl_ctx == nullptr) in CreateRecordType()
1290 decl_ctx = ast.getTranslationUnitDecl(); in CreateRecordType()
1296 return CreateObjCClass(name, decl_ctx, owning_module, isForwardDecl, in CreateRecordType()
1309 decl->setDeclContext(decl_ctx); in CreateRecordType()
1339 if (isa<CXXRecordDecl>(decl_ctx) && exports_symbols) in CreateRecordType()
1350 if (decl_ctx) in CreateRecordType()
1351 decl_ctx->addDecl(decl); in CreateRecordType()
1424 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateFunctionTemplateDecl() argument
1435 func_tmpl_decl->setDeclContext(decl_ctx); in CreateFunctionTemplateDecl()
[all …]
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCDeclVendor.cpp31 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() argument
41 static_cast<void *>(&decl_ctx->getParentASTContext()), in FindExternalVisibleDeclsByName()
42 name.getAsString().c_str(), decl_ctx->getDeclKindName(), in FindExternalVisibleDeclsByName()
43 static_cast<const void *>(decl_ctx)); in FindExternalVisibleDeclsByName()
48 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName()
65 SetNoExternalVisibleDeclsForName(decl_ctx, name); in FindExternalVisibleDeclsByName()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFASTParserClang.cpp269 clang::DeclContext *decl_ctx, in PrepareContextToReceiveMembers() argument
272 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx); in PrepareContextToReceiveMembers()
477 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
479 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
1591 clang::DeclContext *decl_ctx = in ParseStructureLikeDIE() local
1594 PrepareContextToReceiveMembers(m_ast, GetClangASTImporter(), decl_ctx, die, in ParseStructureLikeDIE()
1597 if (attrs.accessibility == eAccessNone && decl_ctx) { in ParseStructureLikeDIE()
1600 const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind(); in ParseStructureLikeDIE()
1614 decl_ctx, GetOwningClangModule(die), attrs.accessibility, in ParseStructureLikeDIE()
1630 decl_ctx, GetOwningClangModule(die), class_template_decl, in ParseStructureLikeDIE()
[all …]
DSymbolFileDWARF.h158 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
339 const lldb_private::CompilerDeclContext &decl_ctx);
DDWARFASTParserClang.h155 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
DSymbolFileDWARF.cpp1259 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1260 auto *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1263 decl_ctx); in ParseDeclsForContext()
2054 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2055 if (!decl_ctx.IsValid()) { in DeclContextMatchesThisSymbolFile()
2062 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2256 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext &decl_ctx, in DIEInDeclContext() argument
2261 if (!decl_ctx.IsValid()) in DIEInDeclContext()
2268 return decl_ctx.IsContainedInLookup(actual_decl_ctx); in DIEInDeclContext()
DSymbolFileDWARFDebugMap.h94 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
DSymbolFileDWARFDebugMap.cpp1322 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1324 oso_dwarf->ParseDeclsForContext(decl_ctx); in ParseDeclsForContext()
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DSymbolFilePDB.h101 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
245 const lldb_private::CompilerDeclContext &decl_ctx);
DSymbolFilePDB.cpp702 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
721 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); in ParseDeclsForContext()
1970 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
1971 if (!decl_ctx.IsValid()) in DeclContextMatchesThisSymbolFile()
1974 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
DPDBASTParser.cpp544 auto decl_ctx = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
549 decl_ctx); in CreateLLDBTypeFromPDBType()
554 target_ast_type, name.c_str(), m_ast.CreateDeclContext(decl_ctx), 0); in CreateLLDBTypeFromPDBType()
/external/llvm-project/lldb/source/Symbol/
DCompilerType.cpp444 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
447 return m_type_system->CreateTypedef(m_type, name, decl_ctx, payload); in CreateTypedef()
DTypeSystem.cpp108 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
DSymbolContext.cpp555 CompilerDeclContext decl_ctx = function_block->GetDeclContext(); in GetFunctionMethodInfo() local
556 if (decl_ctx) in GetFunctionMethodInfo()
557 return decl_ctx.IsClassMethod(&language, &is_instance_method, in GetFunctionMethodInfo()
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DSymbolFileNativePDB.h81 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
DSymbolFileNativePDB.cpp875 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
876 clang::DeclContext *context = m_ast->FromCompilerDeclContext(decl_ctx); in ParseDeclsForContext()