summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBBreakpoint.i
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-10-18 19:13:06 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-10-18 19:13:06 +0000
commit85ced807f532fb5a315886de0f5ccfb53eaaadf0 (patch)
treece9c9a60053b5c65ca1c72f953e62fd22ad0b732 /lldb/scripts/Python/interface/SBBreakpoint.i
parent93b0f7b31949691508adac260890294f783ab68e (diff)
downloadbcm5719-llvm-85ced807f532fb5a315886de0f5ccfb53eaaadf0.tar.gz
bcm5719-llvm-85ced807f532fb5a315886de0f5ccfb53eaaadf0.zip
Add docstrings for SetCondition() and GetCondition() APIs.
llvm-svn: 142396
Diffstat (limited to 'lldb/scripts/Python/interface/SBBreakpoint.i')
-rw-r--r--lldb/scripts/Python/interface/SBBreakpoint.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBBreakpoint.i b/lldb/scripts/Python/interface/SBBreakpoint.i
index 0ca83bf33cd..9e333c37287 100644
--- a/lldb/scripts/Python/interface/SBBreakpoint.i
+++ b/lldb/scripts/Python/interface/SBBreakpoint.i
@@ -128,9 +128,19 @@ public:
uint32_t
GetIgnoreCount () const;
+ %feature("docstring", "
+ //--------------------------------------------------------------------------
+ /// The breakpoint stops only if the condition expression evaluates to true.
+ //--------------------------------------------------------------------------
+ ") SetCondition;
void
SetCondition (const char *condition);
+ %feature("docstring", "
+ //------------------------------------------------------------------
+ /// Get the condition expression for the breakpoint.
+ //------------------------------------------------------------------
+ ") GetCondition;
const char *
GetCondition ();
OpenPOWER on IntegriCloud