summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Debugger.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-08-09 00:50:26 +0000
committerSean Callanan <scallanan@apple.com>2012-08-09 00:50:26 +0000
commit9a028519e8e759ecd5157fa8e7bdadae6da54651 (patch)
tree8fec32c5a99b2cff7cd3a8e150e6f6a5b2974cdb /lldb/source/Core/Debugger.cpp
parent33baca29e53d781f3b1d2fb908079afd7da865b9 (diff)
downloadbcm5719-llvm-9a028519e8e759ecd5157fa8e7bdadae6da54651.tar.gz
bcm5719-llvm-9a028519e8e759ecd5157fa8e7bdadae6da54651.zip
Removed explicit NULL checks for shared pointers
and instead made us use implicit casts to bool. This generated a warning in C++11. <rdar://problem/11930775> llvm-svn: 161559
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r--lldb/source/Core/Debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 9cefaa30f14..1220ef4f5ad 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -2327,7 +2327,7 @@ Debugger::EnableLog (const char *channel, const char **categories, const char *l
Log::Callbacks log_callbacks;
StreamSP log_stream_sp;
- if (m_log_callback_stream_sp != NULL)
+ if (m_log_callback_stream_sp)
{
log_stream_sp = m_log_callback_stream_sp;
// For now when using the callback mode you always get thread & timestamp.
OpenPOWER on IntegriCloud