diff options
Diffstat (limited to 'lldb/source/API/SBValueList.cpp')
| -rw-r--r-- | lldb/source/API/SBValueList.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBValueList.cpp b/lldb/source/API/SBValueList.cpp index 914da817a53..db4ec84861b 100644 --- a/lldb/source/API/SBValueList.cpp +++ b/lldb/source/API/SBValueList.cpp @@ -87,6 +87,10 @@ SBValueList::~SBValueList() {} bool SBValueList::IsValid() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBValueList, IsValid); + return this->operator bool(); +} +SBValueList::operator bool() const { + LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBValueList, operator bool); return (m_opaque_up != NULL); } |

