summaryrefslogtreecommitdiff
path: root/include/lldb/Core/ValueObjectList.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Core/ValueObjectList.h')
-rw-r--r--include/lldb/Core/ValueObjectList.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/lldb/Core/ValueObjectList.h b/include/lldb/Core/ValueObjectList.h
index 5bfe40b2e952c..6565367cc61ce 100644
--- a/include/lldb/Core/ValueObjectList.h
+++ b/include/lldb/Core/ValueObjectList.h
@@ -75,6 +75,12 @@ public:
void
Swap (ValueObjectList &value_object_list);
+ void
+ Clear ()
+ {
+ m_value_objects.clear();
+ }
+
protected:
typedef std::vector<lldb::ValueObjectSP> collection;
//------------------------------------------------------------------