Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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 DSymbolFile.h200 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
H A DCompilerType.h254 const CompilerDeclContext &decl_ctx,
H A DTypeSystem.h271 const CompilerDeclContext &decl_ctx,
/freebsd-13.1/contrib/llvm-project/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.cpp102 const DeclContext *decl_ctx, DeclarationName clang_decl_name) { in FindExternalVisibleDeclsByName() argument
104 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
117 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
130 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
139 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
151 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
161 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
172 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
178 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
927 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.cpp1277 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext(); in LookupFunction() local
1279 if (!decl_ctx) in LookupFunction()
1283 if (decl_ctx.IsClassMethod(nullptr, nullptr, nullptr)) in LookupFunction()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h186 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
312 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
341 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
349 CreateClassTemplateDecl(clang::DeclContext *decl_ctx,
358 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
378 clang::DeclContext *decl_ctx,
396 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
413 CreateParameterDeclaration(clang::DeclContext *decl_ctx,
430 clang::DeclContext *decl_ctx,
722 const CompilerDeclContext &decl_ctx,
[all …]
H A DTypeSystemClang.cpp1351 if (decl_ctx) in CreateRecordType()
1810 if (!decl_ctx) in CreateObjCClass()
1859 if (!decl_ctx) in GetUniqueNamespaceDeclaration()
2139 if (!decl_ctx) in CreateFunctionDeclaration()
2323 if (decl_ctx) in CreateEnumerationType()
2386 if (decl_ctx) { in DumpDeclContextHiearchy()
2933 if (!decl_ctx) in IsRuntimeGeneratedType()
4582 if (!decl_ctx) in CreateTypedef()
9489 for (clang::DeclContext *decl_ctx = frame_decl_ctx; decl_ctx != nullptr; in CountDeclLevels() local
9490 decl_ctx = decl_ctx->getParent()) { in CountDeclLevels()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A 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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp477 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
479 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
1591 clang::DeclContext *decl_ctx = in ParseStructureLikeDIE() local
2261 sstr << decl_ctx.GetQualifiedName(); in ParseFunctionFromDWARF()
3225 if (decl_ctx) in GetClangDeclContextForDIE()
3226 return decl_ctx; in GetClangDeclContextForDIE()
3237 decl_ctx = ResolveNamespaceDIE(die); in GetClangDeclContextForDIE()
3242 decl_ctx = GetDeclContextForBlock(die); in GetClangDeclContextForDIE()
3256 if (decl_ctx) { in GetClangDeclContextForDIE()
3257 LinkDeclContextToDIE(decl_ctx, die); in GetClangDeclContextForDIE()
[all …]
H A DSymbolFileDWARF.h158 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
340 const lldb_private::CompilerDeclContext &decl_ctx);
H A DDWARFASTParserClang.h154 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
H A DSymbolFileDWARF.cpp1268 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1269 auto *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1272 decl_ctx); in ParseDeclsForContext()
1999 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2000 if (!decl_ctx.IsValid()) { in DeclContextMatchesThisSymbolFile()
2007 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2201 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext &decl_ctx, in DIEInDeclContext() argument
2206 if (!decl_ctx.IsValid()) in DIEInDeclContext()
2213 return decl_ctx.IsContainedInLookup(actual_decl_ctx); in DIEInDeclContext()
H A DSymbolFileDWARFDebugMap.h94 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DSymbolFileDWARFDebugMap.cpp1319 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1321 oso_dwarf->ParseDeclsForContext(decl_ctx); in ParseDeclsForContext()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h101 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
244 const lldb_private::CompilerDeclContext &decl_ctx);
H A DSymbolFilePDB.cpp704 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
723 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.cpp548 auto decl_ctx = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
553 decl_ctx); in CreateLLDBTypeFromPDBType()
558 name.c_str(), m_ast.CreateDeclContext(decl_ctx), 0); in CreateLLDBTypeFromPDBType()
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
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.cpp553 CompilerDeclContext decl_ctx = function_block->GetDeclContext(); in GetFunctionMethodInfo() local
554 if (decl_ctx) in GetFunctionMethodInfo()
555 return decl_ctx.IsClassMethod(&language, &is_instance_method, in GetFunctionMethodInfo()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h81 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DSymbolFileNativePDB.cpp875 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
876 clang::DeclContext *context = m_ast->FromCompilerDeclContext(decl_ctx); in ParseDeclsForContext()