diff options
| author | Jim Ingham <jingham@apple.com> | 2011-12-19 20:39:44 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-12-19 20:39:44 +0000 |
| commit | 5d3bca4ec3347d5100b071ba7c5c637f522a014b (patch) | |
| tree | 3a4d703e63d545326f2ee037a9bb58cfc1f69685 /lldb/source/API/SBValue.cpp | |
| parent | 37c45db1894f489e28b8cf88b5e5c162ec1c34a8 (diff) | |
| download | bcm5719-llvm-5d3bca4ec3347d5100b071ba7c5c637f522a014b.tar.gz bcm5719-llvm-5d3bca4ec3347d5100b071ba7c5c637f522a014b.zip | |
Add needed Clear methods.
<rdar://problem/10596340>
llvm-svn: 146902
Diffstat (limited to 'lldb/source/API/SBValue.cpp')
| -rw-r--r-- | lldb/source/API/SBValue.cpp | 6 |
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() { |

