diff options
Diffstat (limited to 'lldb/source/API/SBModuleSpec.cpp')
-rw-r--r-- | lldb/source/API/SBModuleSpec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBModuleSpec.cpp b/lldb/source/API/SBModuleSpec.cpp index 918b17f7cb2..6d984798c39 100644 --- a/lldb/source/API/SBModuleSpec.cpp +++ b/lldb/source/API/SBModuleSpec.cpp @@ -42,6 +42,10 @@ SBModuleSpec::~SBModuleSpec() {} bool SBModuleSpec::IsValid() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBModuleSpec, IsValid); + return this->operator bool(); +} +SBModuleSpec::operator bool() const { + LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBModuleSpec, operator bool); return m_opaque_up->operator bool(); } |