Skip to content

[LLDB] FindLibCppStdFunctionCallableInfo improvements #111892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lldb/include/lldb/Symbol/CompilerDeclContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ class CompilerDeclContext {

ConstString GetScopeQualifiedName() const;

CompilerDecl GetDecl() const;

private:
TypeSystem *m_type_system = nullptr;
void *m_opaque_decl_ctx = nullptr;
Expand Down
4 changes: 4 additions & 0 deletions lldb/include/lldb/Symbol/TypeSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ class TypeSystem : public PluginInterface,

virtual lldb::LanguageType DeclContextGetLanguage(void *opaque_decl_ctx) = 0;

virtual CompilerDecl DeclContextGetDecl(void *opaque_decl_ctx) {
return CompilerDecl();
}

/// Returns the direct parent context of specified type
virtual CompilerDeclContext
GetCompilerDeclContextForType(const CompilerType &type);
Expand Down
Loading