Represents a generic declaration context in a program.
ConstString GetScopeQualifiedName() const
std::vector< CompilerDecl > FindDeclByName(ConstString name, const bool ignore_using_decls)
ConstString GetName() const
bool IsClassMethod()
Checks if this decl context represents a method of a class.
bool IsContainedInLookup(CompilerDeclContext other) const
Check if the given other decl context is contained in the lookup of this decl context (for example be...
TypeSystem * m_type_system
CompilerDeclContext(TypeSystem *type_system, void *decl_ctx)
Constructs a CompilerDeclContext with the given opaque decl context and its respective TypeSystem ins...
CompilerDeclContext()=default
Constructs an invalid CompilerDeclContext.
TypeSystem * GetTypeSystem() const
void * GetOpaqueDeclContext() const
lldb::LanguageType GetLanguage()
Determines the original language of the decl context.
std::vector< lldb_private::CompilerContext > GetCompilerContext() const
Populate a valid compiler context from the current decl context.
void SetDeclContext(TypeSystem *type_system, void *decl_ctx)
bool operator<(const CompilerDeclContext &rhs) const