diff options
Diffstat (limited to 'lldb/source/API/SBWatchpoint.cpp')
| -rw-r--r-- | lldb/source/API/SBWatchpoint.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/lldb/source/API/SBWatchpoint.cpp b/lldb/source/API/SBWatchpoint.cpp index fd505aead54..76ce57cccf7 100644 --- a/lldb/source/API/SBWatchpoint.cpp +++ b/lldb/source/API/SBWatchpoint.cpp @@ -87,22 +87,7 @@ SBWatchpoint::GetID () bool SBWatchpoint::IsValid() const { - lldb::WatchpointSP watchpoint_sp(GetSP()); - if (watchpoint_sp && watchpoint_sp->GetError().Success()) - return true; - return false; -} - -SBError -SBWatchpoint::GetError () -{ - SBError sb_error; - lldb::WatchpointSP watchpoint_sp(GetSP()); - if (watchpoint_sp) - { - sb_error.SetError(watchpoint_sp->GetError()); - } - return sb_error; + return m_opaque_sp; } int32_t |

