summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBFileSpecList.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/SBFileSpecList.cpp
parentc4cdf865698eae06affbf762baf38e6ca95b4785 (diff)
[lldb] Remove LLDB_RECORD_RESULT macro
Diffstat (limited to 'lldb/source/API/SBFileSpecList.cpp')
-rw-r--r--lldb/source/API/SBFileSpecList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBFileSpecList.cpp b/lldb/source/API/SBFileSpecList.cpp
index 44c0dcace91d..6e85957cb088 100644
--- a/lldb/source/API/SBFileSpecList.cpp
+++ b/lldb/source/API/SBFileSpecList.cpp
@@ -40,7 +40,7 @@ const SBFileSpecList &SBFileSpecList::operator=(const SBFileSpecList &rhs) {
if (this != &rhs)
m_opaque_up = clone(rhs.m_opaque_up);
- return LLDB_RECORD_RESULT(*this);
+ return *this;
}
uint32_t SBFileSpecList::GetSize() const {
@@ -84,7 +84,7 @@ const SBFileSpec SBFileSpecList::GetFileSpecAtIndex(uint32_t idx) const {
SBFileSpec new_spec;
new_spec.SetFileSpec(m_opaque_up->GetFileSpecAtIndex(idx));
- return LLDB_RECORD_RESULT(new_spec);
+ return new_spec;
}
const lldb_private::FileSpecList *SBFileSpecList::operator->() const {