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/SBTypeNameSpecifier.cpp | |
| parent | c4cdf865698eae06affbf762baf38e6ca95b4785 (diff) | |
[lldb] Remove LLDB_RECORD_RESULT macro
Diffstat (limited to 'lldb/source/API/SBTypeNameSpecifier.cpp')
| -rw-r--r-- | lldb/source/API/SBTypeNameSpecifier.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/API/SBTypeNameSpecifier.cpp b/lldb/source/API/SBTypeNameSpecifier.cpp index 3cb586c0641a..3b9dd8300c87 100644 --- a/lldb/source/API/SBTypeNameSpecifier.cpp +++ b/lldb/source/API/SBTypeNameSpecifier.cpp @@ -69,11 +69,11 @@ SBType SBTypeNameSpecifier::GetType() { LLDB_RECORD_METHOD_NO_ARGS(lldb::SBType, SBTypeNameSpecifier, GetType); if (!IsValid()) - return LLDB_RECORD_RESULT(SBType()); + return SBType(); lldb_private::CompilerType c_type = m_opaque_sp->GetCompilerType(); if (c_type.IsValid()) - return LLDB_RECORD_RESULT(SBType(c_type)); - return LLDB_RECORD_RESULT(SBType()); + return SBType(c_type); + return SBType(); } bool SBTypeNameSpecifier::IsRegex() { @@ -107,7 +107,7 @@ operator=(const lldb::SBTypeNameSpecifier &rhs) { if (this != &rhs) { m_opaque_sp = rhs.m_opaque_sp; } - return LLDB_RECORD_RESULT(*this); + return *this; } bool SBTypeNameSpecifier::operator==(lldb::SBTypeNameSpecifier &rhs) { |
