summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/Options.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/Interpreter/Options.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/Interpreter/Options.cpp')
-rw-r--r--lldb/source/Interpreter/Options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/Options.cpp b/lldb/source/Interpreter/Options.cpp
index 2351345100d..5e9f04798af 100644
--- a/lldb/source/Interpreter/Options.cpp
+++ b/lldb/source/Interpreter/Options.cpp
@@ -886,7 +886,7 @@ Options::HandleOptionArgumentCompletion
FileSpec module_spec(module_name, false);
lldb::TargetSP target_sp = m_interpreter.GetDebugger().GetSelectedTarget();
// Search filters require a target...
- if (target_sp != NULL)
+ if (target_sp)
filter_ap.reset (new SearchFilterByModule (target_sp, module_spec));
}
break;
OpenPOWER on IntegriCloud