diff options
author | Greg Clayton <gclayton@apple.com> | 2010-10-31 03:01:06 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-10-31 03:01:06 +0000 |
commit | cfd1aced7ea66eda9b23c227cdd76a2289150a13 (patch) | |
tree | 24d18ab977aac38caf781ac1f53b7bdb42a3c4d0 /lldb/source/API/SBThread.cpp | |
parent | a5df61a341ab35738a2788f222bd9799a060e2ea (diff) | |
download | bcm5719-llvm-cfd1aced7ea66eda9b23c227cdd76a2289150a13.tar.gz bcm5719-llvm-cfd1aced7ea66eda9b23c227cdd76a2289150a13.zip |
Cleaned up the API logging a lot more to reduce redundant information and
keep the file size a bit smaller.
Exposed SBValue::GetExpressionPath() so SBValue users can get an expression
path for their values.
llvm-svn: 117851
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r-- | lldb/source/API/SBThread.cpp | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index fc13631b137..ca356244d78 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -38,14 +38,14 @@ using namespace lldb; using namespace lldb_private; +//---------------------------------------------------------------------- +// Constructors +//---------------------------------------------------------------------- SBThread::SBThread () : m_opaque_sp () { } -//---------------------------------------------------------------------- -// Thread constructor -//---------------------------------------------------------------------- SBThread::SBThread (const ThreadSP& lldb_object_sp) : m_opaque_sp (lldb_object_sp) { @@ -57,6 +57,18 @@ SBThread::SBThread (const SBThread &rhs) : } //---------------------------------------------------------------------- +// Assignment operator +//---------------------------------------------------------------------- + +const lldb::SBThread & +SBThread::operator = (const SBThread &rhs) +{ + if (this != &rhs) + m_opaque_sp = rhs.m_opaque_sp; + return *this; +} + +//---------------------------------------------------------------------- // Destructor //---------------------------------------------------------------------- SBThread::~SBThread() @@ -490,14 +502,6 @@ SBThread::GetFrameAtIndex (uint32_t idx) return sb_frame; } -const lldb::SBThread & -SBThread::operator = (const SBThread &rhs) -{ - if (this != &rhs) - m_opaque_sp = rhs.m_opaque_sp; - return *this; -} - bool SBThread::operator == (const SBThread &rhs) const { |