LLDB  mainline
Classes | Public Member Functions | Protected Types | Protected Attributes | List of all members
DWARFDeclContext Class Reference

#include <DWARFDeclContext.h>

Collaboration diagram for DWARFDeclContext:
Collaboration graph


struct  Entry

Public Member Functions

 DWARFDeclContext ()
void AppendDeclContext (dw_tag_t tag, const char *name)
bool operator== (const DWARFDeclContext &rhs) const
bool operator!= (const DWARFDeclContext &rhs) const
uint32_t GetSize () const
Entryoperator[] (uint32_t idx)
const Entryoperator[] (uint32_t idx) const
const char * GetQualifiedName () const
lldb_private::ConstString GetQualifiedNameAsConstString () const
void Clear ()
lldb::LanguageType GetLanguage () const
void SetLanguage (lldb::LanguageType language)

Protected Types

typedef std::vector< Entrycollection

Protected Attributes

collection m_entries
std::string m_qualified_name
lldb::LanguageType m_language = lldb::eLanguageTypeUnknown

Detailed Description

Definition at line 23 of file DWARFDeclContext.h.

Member Typedef Documentation

◆ collection

typedef std::vector<Entry> DWARFDeclContext::collection

Definition at line 83 of file DWARFDeclContext.h.

Constructor & Destructor Documentation

◆ DWARFDeclContext()

DWARFDeclContext::DWARFDeclContext ( )

Definition at line 44 of file DWARFDeclContext.h.

Member Function Documentation

◆ AppendDeclContext()

void DWARFDeclContext::AppendDeclContext ( dw_tag_t  tag,
const char *  name 

Definition at line 46 of file DWARFDeclContext.h.

References m_entries.

Referenced by DWARFDebugInfoEntry::GetDWARFDeclContextStatic().

◆ Clear()

void DWARFDeclContext::Clear ( )

Definition at line 73 of file DWARFDeclContext.h.

References m_entries, and m_qualified_name.

◆ GetLanguage()

lldb::LanguageType DWARFDeclContext::GetLanguage ( ) const

Definition at line 78 of file DWARFDeclContext.h.

References m_language.

Referenced by SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext().

◆ GetQualifiedName()

const char * DWARFDeclContext::GetQualifiedName ( ) const

◆ GetQualifiedNameAsConstString()

lldb_private::ConstString DWARFDeclContext::GetQualifiedNameAsConstString ( ) const

Definition at line 69 of file DWARFDeclContext.h.

References GetQualifiedName().

Referenced by SymbolFileDWARF::ParseVariableDIE().

◆ GetSize()

uint32_t DWARFDeclContext::GetSize ( ) const

◆ operator!=()

bool DWARFDeclContext::operator!= ( const DWARFDeclContext rhs) const

Definition at line 51 of file DWARFDeclContext.h.

◆ operator==()

bool DWARFDeclContext::operator== ( const DWARFDeclContext rhs) const

Definition at line 54 of file DWARFDeclContext.cpp.

References m_entries.

◆ operator[]() [1/2]

Entry& DWARFDeclContext::operator[] ( uint32_t  idx)

Definition at line 55 of file DWARFDeclContext.h.

References m_entries.

◆ operator[]() [2/2]

const Entry& DWARFDeclContext::operator[] ( uint32_t  idx) const

Definition at line 60 of file DWARFDeclContext.h.

References m_entries.

◆ SetLanguage()

void DWARFDeclContext::SetLanguage ( lldb::LanguageType  language)

Definition at line 80 of file DWARFDeclContext.h.

References m_language.

Referenced by SymbolFileDWARF::GetDWARFDeclContext().

Member Data Documentation

◆ m_entries

collection DWARFDeclContext::m_entries

◆ m_language

lldb::LanguageType DWARFDeclContext::m_language = lldb::eLanguageTypeUnknown

Definition at line 86 of file DWARFDeclContext.h.

Referenced by GetLanguage(), and SetLanguage().

◆ m_qualified_name

std::string DWARFDeclContext::m_qualified_name

Definition at line 85 of file DWARFDeclContext.h.

Referenced by Clear(), and GetQualifiedName().

The documentation for this class was generated from the following files: