summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBWatchpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBWatchpoint.cpp')
-rw-r--r--lldb/source/API/SBWatchpoint.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/API/SBWatchpoint.cpp b/lldb/source/API/SBWatchpoint.cpp
index eb6b77558a14..207141f5dca6 100644
--- a/lldb/source/API/SBWatchpoint.cpp
+++ b/lldb/source/API/SBWatchpoint.cpp
@@ -43,7 +43,7 @@ const SBWatchpoint &SBWatchpoint::operator=(const SBWatchpoint &rhs) {
SBWatchpoint, operator=,(const lldb::SBWatchpoint &), rhs);
m_opaque_wp = rhs.m_opaque_wp;
- return LLDB_RECORD_RESULT(*this);
+ return *this;
}
SBWatchpoint::~SBWatchpoint() = default;
@@ -92,7 +92,7 @@ SBError SBWatchpoint::GetError() {
if (watchpoint_sp) {
sb_error.SetError(watchpoint_sp->GetError());
}
- return LLDB_RECORD_RESULT(sb_error);
+ return sb_error;
}
int32_t SBWatchpoint::GetHardwareIndex() {
@@ -262,7 +262,7 @@ void SBWatchpoint::Clear() {
lldb::WatchpointSP SBWatchpoint::GetSP() const {
LLDB_RECORD_METHOD_CONST_NO_ARGS(lldb::WatchpointSP, SBWatchpoint, GetSP);
- return LLDB_RECORD_RESULT(m_opaque_wp.lock());
+ return m_opaque_wp.lock();
}
void SBWatchpoint::SetSP(const lldb::WatchpointSP &sp) {
@@ -301,5 +301,5 @@ SBWatchpoint SBWatchpoint::GetWatchpointFromEvent(const lldb::SBEvent &event) {
if (event.IsValid())
sb_watchpoint =
Watchpoint::WatchpointEventData::GetWatchpointFromEvent(event.GetSP());
- return LLDB_RECORD_RESULT(sb_watchpoint);
+ return sb_watchpoint;
}