mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
[lldb] Remove LLDB_RECORD_RESULT macro
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user