diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-01-09 22:54:08 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-01-09 22:54:17 -0800 |
| commit | d232abc33b707d2da8ca4e4c84d8287ce0e1a47a (patch) | |
| tree | ca130d9be74c7380624add1c5b06acaa8243e983 /lldb/source/API/SBBreakpointLocation.cpp | |
| parent | c4cdf865698eae06affbf762baf38e6ca95b4785 (diff) | |
[lldb] Remove LLDB_RECORD_RESULT macro
Diffstat (limited to 'lldb/source/API/SBBreakpointLocation.cpp')
| -rw-r--r-- | lldb/source/API/SBBreakpointLocation.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/API/SBBreakpointLocation.cpp b/lldb/source/API/SBBreakpointLocation.cpp index ec7a6ac86eeb..c2e0001bd6c5 100644 --- a/lldb/source/API/SBBreakpointLocation.cpp +++ b/lldb/source/API/SBBreakpointLocation.cpp @@ -56,7 +56,7 @@ operator=(const SBBreakpointLocation &rhs) { rhs); m_opaque_wp = rhs.m_opaque_wp; - return LLDB_RECORD_RESULT(*this); + return *this; } SBBreakpointLocation::~SBBreakpointLocation() = default; @@ -80,10 +80,10 @@ SBAddress SBBreakpointLocation::GetAddress() { BreakpointLocationSP loc_sp = GetSP(); if (loc_sp) { - return LLDB_RECORD_RESULT(SBAddress(loc_sp->GetAddress())); + return SBAddress(loc_sp->GetAddress()); } - return LLDB_RECORD_RESULT(SBAddress()); + return SBAddress(); } addr_t SBBreakpointLocation::GetLoadAddress() { @@ -240,7 +240,7 @@ SBError SBBreakpointLocation::SetScriptCallbackFunction( } else sb_error.SetErrorString("invalid breakpoint"); - return LLDB_RECORD_RESULT(sb_error); + return sb_error; } SBError @@ -265,7 +265,7 @@ SBBreakpointLocation::SetScriptCallbackBody(const char *callback_body_text) { } else sb_error.SetErrorString("invalid breakpoint"); - return LLDB_RECORD_RESULT(sb_error); + return sb_error; } void SBBreakpointLocation::SetCommandLineCommands(SBStringList &commands) { @@ -465,5 +465,5 @@ SBBreakpoint SBBreakpointLocation::GetBreakpoint() { sb_bp = loc_sp->GetBreakpoint().shared_from_this(); } - return LLDB_RECORD_RESULT(sb_bp); + return sb_bp; } |
