summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBThreadCollection.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-01-09 22:54:08 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2022-01-09 22:54:17 -0800
commitd232abc33b707d2da8ca4e4c84d8287ce0e1a47a (patch)
treeca130d9be74c7380624add1c5b06acaa8243e983 /lldb/source/API/SBThreadCollection.cpp
parentc4cdf865698eae06affbf762baf38e6ca95b4785 (diff)
[lldb] Remove LLDB_RECORD_RESULT macro
Diffstat (limited to 'lldb/source/API/SBThreadCollection.cpp')
-rw-r--r--lldb/source/API/SBThreadCollection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBThreadCollection.cpp b/lldb/source/API/SBThreadCollection.cpp
index 0850d01642f2..fcf066381c98 100644
--- a/lldb/source/API/SBThreadCollection.cpp
+++ b/lldb/source/API/SBThreadCollection.cpp
@@ -32,7 +32,7 @@ operator=(const SBThreadCollection &rhs) {
if (this != &rhs)
m_opaque_sp = rhs.m_opaque_sp;
- return LLDB_RECORD_RESULT(*this);
+ return *this;
}
SBThreadCollection::SBThreadCollection(const ThreadCollectionSP &threads)
@@ -85,5 +85,5 @@ SBThread SBThreadCollection::GetThreadAtIndex(size_t idx) {
SBThread thread;
if (m_opaque_sp && idx < m_opaque_sp->GetSize())
thread = m_opaque_sp->GetThreadAtIndex(idx);
- return LLDB_RECORD_RESULT(thread);
+ return thread;
}