<rdar://problem/10126482>

Fixed an issues with the SBType and SBTypeMember classes:
- Fixed SBType to be able to dump itself from python
- Fixed SBType::GetNumberOfFields() to return the correct value for objective C interfaces
- Fixed SBTypeMember to be able to dump itself from python
- Fixed the SBTypeMember ability to get a field offset in bytes (the value
  being returned was wrong)
- Added the SBTypeMember ability to get a field offset in bits


Cleaned up a lot of the Stream usage in the SB API files.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144493 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index dc594cb..6ef4c38 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -917,25 +917,14 @@
 bool
 SBValue::GetDescription (SBStream &description)
 {
+    Stream &strm = description.ref();
+
     if (m_opaque_sp)
     {
-        /*uint32_t ptr_depth = 0;
-        uint32_t curr_depth = 0;
-        uint32_t max_depth = UINT32_MAX;
-        bool show_types = false;
-        bool show_location = false;
-        bool use_objc = false;
-        lldb::DynamicValueType use_dynamic = eNoDynamicValues;
-        bool scope_already_checked = false;
-        bool flat_output = false;
-        bool use_synthetic = true;
-        uint32_t no_summary_depth = 0;
-        bool ignore_cap = false;*/
-        ValueObject::DumpValueObject (description.ref(), 
-                                      m_opaque_sp.get());
+        ValueObject::DumpValueObject (strm, m_opaque_sp.get());
     }
     else
-        description.Printf ("No value");
+        strm.PutCString ("No value");
 
     return true;
 }