[lldb] Remove LLDB_RECORD_RESULT macro

This commit is contained in:
Jonas Devlieghere
2022-01-09 22:54:08 -08:00
parent c4cdf86569
commit d232abc33b
66 changed files with 800 additions and 849 deletions

View File

@@ -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;
}