summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-09-17 08:33:22 +0000
committerGreg Clayton <gclayton@apple.com>2011-09-17 08:33:22 +0000
commit4d122c400940b4444ed5aa5257680c1ccf65c651 (patch)
treed5b44cd0bb7b44b0387796959ae7fe435f6a80cb /lldb/source/Commands/CommandObjectBreakpoint.cpp
parenta2eee184e02ce94472b9ce6849b55207baef4fe3 (diff)
downloadbcm5719-llvm-4d122c400940b4444ed5aa5257680c1ccf65c651.tar.gz
bcm5719-llvm-4d122c400940b4444ed5aa5257680c1ccf65c651.zip
Adopt the intrusive pointers in:
lldb_private::Breakpoint lldb_private::BreakpointLocations lldb_private::BreakpointSite lldb_private::Debugger lldb_private::StackFrame lldb_private::Thread lldb_private::Target llvm-svn: 139985
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 20641acf117..88a130d3982 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -574,7 +574,7 @@ CommandObjectMultiwordBreakpoint::VerifyBreakpointIDs (Args &args, Target *targe
if (args.GetArgumentCount() == 0)
{
- if (target->GetLastCreatedBreakpoint() != NULL)
+ if (target->GetLastCreatedBreakpoint())
{
valid_ids->AddBreakpointID (BreakpointID(target->GetLastCreatedBreakpoint()->GetID(), LLDB_INVALID_BREAK_ID));
result.SetStatus (eReturnStatusSuccessFinishNoResult);
OpenPOWER on IntegriCloud