LLDB mainline
lldb_private::plugin::dwarf::DWARFDeclContext::Entry Struct Reference

#include <DWARFDeclContext.h>

Public Member Functions

 Entry ()=default
 Entry (dw_tag_t t, const char *n)
bool NameMatches (const Entry &rhs) const
const char * GetName () const
 Returns the name of this entry if it has one, or the appropriate "anonymous {namespace, class, struct, union}".
 operator bool () const

Public Attributes

dw_tag_t tag = llvm::dwarf::DW_TAG_null
const char * name = nullptr

Detailed Description

Definition at line 30 of file DWARFDeclContext.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

lldb_private::plugin::dwarf::DWARFDeclContext::Entry::Entry ( )
default

Referenced by NameMatches().

◆ Entry() [2/2]

lldb_private::plugin::dwarf::DWARFDeclContext::Entry::Entry ( dw_tag_t t,
const char * n )
inline

Definition at line 32 of file DWARFDeclContext.h.

References name, and tag.

Member Function Documentation

◆ GetName()

const char * DWARFDeclContext::Entry::GetName ( ) const

Returns the name of this entry if it has one, or the appropriate "anonymous {namespace, class, struct, union}".

Definition at line 15 of file DWARFDeclContext.cpp.

References name, and tag.

Referenced by lldb_private::plugin::dwarf::DWARFDeclContext::operator<<.

◆ NameMatches()

bool lldb_private::plugin::dwarf::DWARFDeclContext::Entry::NameMatches ( const Entry & rhs) const
inline

Definition at line 34 of file DWARFDeclContext.h.

References Entry(), and name.

◆ operator bool()

lldb_private::plugin::dwarf::DWARFDeclContext::Entry::operator bool ( ) const
inlineexplicit

Definition at line 47 of file DWARFDeclContext.h.

References tag.

Member Data Documentation

◆ name

const char* lldb_private::plugin::dwarf::DWARFDeclContext::Entry::name = nullptr

Definition at line 50 of file DWARFDeclContext.h.

Referenced by Entry(), GetName(), and NameMatches().

◆ tag

dw_tag_t lldb_private::plugin::dwarf::DWARFDeclContext::Entry::tag = llvm::dwarf::DW_TAG_null

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