diff options
Diffstat (limited to 'lldb/include/lldb/API/SBValue.h')
-rw-r--r-- | lldb/include/lldb/API/SBValue.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/lldb/include/lldb/API/SBValue.h b/lldb/include/lldb/API/SBValue.h index 3abd8a8f97e..6c01a544ffa 100644 --- a/lldb/include/lldb/API/SBValue.h +++ b/lldb/include/lldb/API/SBValue.h @@ -355,27 +355,13 @@ protected: friend class SBValueList; friend class SBFrame; -#ifndef SWIG - // Mimic shared pointer... - lldb_private::ValueObject * - get() const; - - lldb_private::ValueObject * - operator->() const; - - lldb::ValueObjectSP & - operator*(); - - const lldb::ValueObjectSP & - operator*() const; - -#endif - + lldb::ValueObjectSP + GetSP () const; + + void + SetSP (const lldb::ValueObjectSP &sp); + private: - // Helper function for SBValue::Watch() and SBValue::WatchPointee(). - lldb::SBWatchpoint - WatchValue(bool read, bool write, bool watch_pointee); - lldb::ValueObjectSP m_opaque_sp; }; |