summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface/SBCommandReturnObject.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/interface/SBCommandReturnObject.i')
-rw-r--r--lldb/scripts/interface/SBCommandReturnObject.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBCommandReturnObject.i b/lldb/scripts/interface/SBCommandReturnObject.i
index 48a52364cb0..33507bc8dcf 100644
--- a/lldb/scripts/interface/SBCommandReturnObject.i
+++ b/lldb/scripts/interface/SBCommandReturnObject.i
@@ -28,6 +28,8 @@ public:
bool
IsValid() const;
+ explicit operator bool() const;
+
const char *
GetOutput ();
OpenPOWER on IntegriCloud