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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117851 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBThread.cpp b/source/API/SBThread.cpp
index fc13631..ca35624 100644
--- a/source/API/SBThread.cpp
+++ b/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 @@
}
//----------------------------------------------------------------------
+// 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 @@
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
{