From 5d3bca4ec3347d5100b071ba7c5c637f522a014b Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Mon, 19 Dec 2011 20:39:44 +0000 Subject: Add needed Clear methods. llvm-svn: 146902 --- lldb/source/API/SBModule.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/source/API/SBModule.cpp') diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp index c80d952e3120..ea893df1acb9 100644 --- a/lldb/source/API/SBModule.cpp +++ b/lldb/source/API/SBModule.cpp @@ -58,6 +58,12 @@ SBModule::IsValid () const return m_opaque_sp.get() != NULL; } +void +SBModule::Clear() +{ + m_opaque_sp.reset(); +} + SBFileSpec SBModule::GetFileSpec () const { -- cgit v1.2.3