summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBValue.cpp')
-rw-r--r--lldb/source/API/SBValue.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/API/SBValue.cpp b/lldb/source/API/SBValue.cpp
index daaeea089ca..876670a510c 100644
--- a/lldb/source/API/SBValue.cpp
+++ b/lldb/source/API/SBValue.cpp
@@ -75,6 +75,12 @@ SBValue::IsValid ()
return m_opaque_sp.get() != NULL;
}
+void
+SBValue::Clear()
+{
+ m_opaque_sp.reset();
+}
+
SBError
SBValue::GetError()
{
OpenPOWER on IntegriCloud