diff options
Diffstat (limited to 'lldb/source/API/SBLineEntry.cpp')
| -rw-r--r-- | lldb/source/API/SBLineEntry.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBLineEntry.cpp b/lldb/source/API/SBLineEntry.cpp index e0c0a5c7bd9..c11780fc292 100644 --- a/lldb/source/API/SBLineEntry.cpp +++ b/lldb/source/API/SBLineEntry.cpp @@ -74,6 +74,10 @@ SBAddress SBLineEntry::GetEndAddress() const { bool SBLineEntry::IsValid() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBLineEntry, IsValid); + return this->operator bool(); +} +SBLineEntry::operator bool() const { + LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBLineEntry, operator bool); return m_opaque_up.get() && m_opaque_up->IsValid(); } |

