LLDB mainline
|
#include <SBDeclaration.h>
Public Member Functions | |
SBDeclaration () | |
SBDeclaration (const lldb::SBDeclaration &rhs) | |
~SBDeclaration () | |
const lldb::SBDeclaration & | operator= (const lldb::SBDeclaration &rhs) |
operator bool () const | |
bool | IsValid () const |
lldb::SBFileSpec | GetFileSpec () const |
uint32_t | GetLine () const |
uint32_t | GetColumn () const |
void | SetFileSpec (lldb::SBFileSpec filespec) |
void | SetLine (uint32_t line) |
void | SetColumn (uint32_t column) |
bool | operator== (const lldb::SBDeclaration &rhs) const |
bool | operator!= (const lldb::SBDeclaration &rhs) const |
bool | GetDescription (lldb::SBStream &description) |
Protected Member Functions | |
lldb_private::Declaration * | get () |
Private Member Functions | |
const lldb_private::Declaration * | operator-> () const |
lldb_private::Declaration & | ref () |
const lldb_private::Declaration & | ref () const |
SBDeclaration (const lldb_private::Declaration *lldb_object_ptr) | |
void | SetDeclaration (const lldb_private::Declaration &lldb_object_ref) |
Private Attributes | |
std::unique_ptr< lldb_private::Declaration > | m_opaque_up |
Friends | |
class | SBValue |
Definition at line 18 of file SBDeclaration.h.
SBDeclaration::SBDeclaration | ( | ) |
Definition at line 22 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA.
SBDeclaration::SBDeclaration | ( | const lldb::SBDeclaration & | rhs | ) |
Definition at line 24 of file SBDeclaration.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
default |
References lldb::operator==().
|
private |
Definition at line 30 of file SBDeclaration.cpp.
References m_opaque_up.
|
protected |
Definition at line 164 of file SBDeclaration.cpp.
References m_opaque_up.
uint32_t SBDeclaration::GetColumn | ( | ) | const |
Definition at line 81 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by GetDescription().
bool SBDeclaration::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 147 of file SBDeclaration.cpp.
References GetColumn(), GetLine(), LLDB_INSTRUMENT_VA, m_opaque_up, PATH_MAX, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
SBFileSpec SBDeclaration::GetFileSpec | ( | ) | const |
Definition at line 60 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBFileSpec::SetFileSpec().
uint32_t SBDeclaration::GetLine | ( | ) | const |
Definition at line 70 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by GetDescription().
bool SBDeclaration::IsValid | ( | ) | const |
Definition at line 50 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 54 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA.
bool SBDeclaration::operator!= | ( | const lldb::SBDeclaration & | rhs | ) | const |
Definition at line 121 of file SBDeclaration.cpp.
References lldb_private::Declaration::Compare(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
private |
Definition at line 133 of file SBDeclaration.cpp.
References m_opaque_up.
const SBDeclaration & SBDeclaration::operator= | ( | const lldb::SBDeclaration & | rhs | ) |
Definition at line 35 of file SBDeclaration.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBDeclaration::operator== | ( | const lldb::SBDeclaration & | rhs | ) | const |
Definition at line 109 of file SBDeclaration.cpp.
References lldb_private::Declaration::Compare(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
private |
Definition at line 137 of file SBDeclaration.cpp.
References m_opaque_up.
Referenced by SetColumn(), SetDeclaration(), SetFileSpec(), and SetLine().
|
private |
Definition at line 143 of file SBDeclaration.cpp.
References m_opaque_up.
void SBDeclaration::SetColumn | ( | uint32_t | column | ) |
Definition at line 103 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA, ref(), and lldb_private::Declaration::SetColumn().
|
private |
Definition at line 43 of file SBDeclaration.cpp.
References ref().
Referenced by lldb::SBValue::GetDeclaration().
void SBDeclaration::SetFileSpec | ( | lldb::SBFileSpec | filespec | ) |
Definition at line 89 of file SBDeclaration.cpp.
References lldb::SBFileSpec::IsValid(), LLDB_INSTRUMENT_VA, ref(), lldb::SBFileSpec::ref(), and lldb_private::Declaration::SetFile().
void SBDeclaration::SetLine | ( | uint32_t | line | ) |
Definition at line 97 of file SBDeclaration.cpp.
References LLDB_INSTRUMENT_VA, ref(), and lldb_private::Declaration::SetLine().
|
friend |
Definition at line 54 of file SBDeclaration.h.
|
private |
Definition at line 66 of file SBDeclaration.h.
Referenced by get(), GetColumn(), GetDescription(), GetFileSpec(), GetLine(), operator!=(), operator->(), operator=(), operator==(), ref(), and SBDeclaration().