summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/Breakpoint.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-06-15 21:16:00 +0000
committerJim Ingham <jingham@apple.com>2011-06-15 21:16:00 +0000
commit691bcc2a62dc73320411a6d97e0591e6074e979a (patch)
tree83b79bb01af297d66bf701b8bada98de35999861 /lldb/source/Breakpoint/Breakpoint.cpp
parentdcb562dea4e71c6e16354b0b82d1cff5f930ddc8 (diff)
downloadbcm5719-llvm-691bcc2a62dc73320411a6d97e0591e6074e979a.tar.gz
bcm5719-llvm-691bcc2a62dc73320411a6d97e0591e6074e979a.zip
Made GetConditionText const everywhere. Made it return NULL when there's no condition
like the doc's say it should. Make sure we have a condition before we set up a test whether we have one, so we only present a "could not parse condition" error if we actually have a condition. llvm-svn: 133088
Diffstat (limited to 'lldb/source/Breakpoint/Breakpoint.cpp')
-rw-r--r--lldb/source/Breakpoint/Breakpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/Breakpoint.cpp b/lldb/source/Breakpoint/Breakpoint.cpp
index acc1a122911..4fa77dd7135 100644
--- a/lldb/source/Breakpoint/Breakpoint.cpp
+++ b/lldb/source/Breakpoint/Breakpoint.cpp
@@ -201,7 +201,7 @@ Breakpoint::GetThreadPlanToTestCondition (ExecutionContext &exe_ctx, lldb::Break
}
const char *
-Breakpoint::GetConditionText ()
+Breakpoint::GetConditionText () const
{
return m_options.GetConditionText();
}
OpenPOWER on IntegriCloud