LLDB mainline
Classes | Public Member Functions | Protected Types | Protected Attributes | Friends | List of all members
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.

◆ 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()

const char * DWARFDeclContext::GetQualifiedName ( ) const

◆ 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.

◆ operator==()

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

Definition at line 56 of file DWARFDeclContext.cpp.

References 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.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 91 of file DWARFDeclContext.h.

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: