LLDB mainline
lldb_private::plugin::dwarf::DWARFDeclContext Class Reference

#include <DWARFDeclContext.h>

Classes

struct  Entry

Public Member Functions

 DWARFDeclContext ()
 DWARFDeclContext (llvm::ArrayRef< Entry > entries)
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
ConstString GetQualifiedNameAsConstString () const
void Clear ()

Protected Types

typedef std::vector< Entrycollection

Protected Attributes

collection m_entries
std::string m_qualified_name

Friends

llvm::raw_ostream & operator<< (llvm::raw_ostream &OS, const DWARFDeclContext &ctx)

Detailed Description

Definition at line 28 of file DWARFDeclContext.h.

Member Typedef Documentation

◆ collection

Definition at line 103 of file DWARFDeclContext.h.

Constructor & Destructor Documentation

◆ DWARFDeclContext() [1/2]

lldb_private::plugin::dwarf::DWARFDeclContext::DWARFDeclContext ( )
inline

Definition at line 53 of file DWARFDeclContext.h.

References m_entries.

Referenced by operator!=(), operator<<, and operator==().

◆ DWARFDeclContext() [2/2]

lldb_private::plugin::dwarf::DWARFDeclContext::DWARFDeclContext ( llvm::ArrayRef< Entry > entries)
inline

Definition at line 55 of file DWARFDeclContext.h.

References m_entries.

Member Function Documentation

◆ AppendDeclContext()

void lldb_private::plugin::dwarf::DWARFDeclContext::AppendDeclContext ( dw_tag_t tag,
const char * name )
inline

◆ Clear()

void lldb_private::plugin::dwarf::DWARFDeclContext::Clear ( )
inline

Definition at line 86 of file DWARFDeclContext.h.

References m_entries, and m_qualified_name.

◆ GetQualifiedName()

◆ GetQualifiedNameAsConstString()

ConstString lldb_private::plugin::dwarf::DWARFDeclContext::GetQualifiedNameAsConstString ( ) const
inline

◆ GetSize()

uint32_t lldb_private::plugin::dwarf::DWARFDeclContext::GetSize ( ) const
inline

◆ operator!=()

bool lldb_private::plugin::dwarf::DWARFDeclContext::operator!= ( const DWARFDeclContext & rhs) const
inline

Definition at line 64 of file DWARFDeclContext.h.

References DWARFDeclContext().

◆ operator==()

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

Definition at line 56 of file DWARFDeclContext.cpp.

References DWARFDeclContext(), and m_entries.

◆ operator[]() [1/2]

Entry & lldb_private::plugin::dwarf::DWARFDeclContext::operator[] ( uint32_t idx)
inline

Definition at line 68 of file DWARFDeclContext.h.

References m_entries.

◆ operator[]() [2/2]

const Entry & lldb_private::plugin::dwarf::DWARFDeclContext::operator[] ( uint32_t idx) const
inline

Definition at line 73 of file DWARFDeclContext.h.

References m_entries.

◆ operator<<

Member Data Documentation

◆ m_entries

collection lldb_private::plugin::dwarf::DWARFDeclContext::m_entries
protected

◆ m_qualified_name

std::string lldb_private::plugin::dwarf::DWARFDeclContext::m_qualified_name
mutableprotected

Definition at line 105 of file DWARFDeclContext.h.

Referenced by Clear(), and GetQualifiedName().


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