diff options
author | Sean Callanan <scallanan@apple.com> | 2012-08-09 00:50:26 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-08-09 00:50:26 +0000 |
commit | 9a028519e8e759ecd5157fa8e7bdadae6da54651 (patch) | |
tree | 8fec32c5a99b2cff7cd3a8e150e6f6a5b2974cdb /lldb/source/Target/ThreadPlanCallFunction.cpp | |
parent | 33baca29e53d781f3b1d2fb908079afd7da865b9 (diff) | |
download | llvm-9a028519e8e759ecd5157fa8e7bdadae6da54651.zip llvm-9a028519e8e759ecd5157fa8e7bdadae6da54651.tar.gz llvm-9a028519e8e759ecd5157fa8e7bdadae6da54651.tar.bz2 |
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/Target/ThreadPlanCallFunction.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanCallFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanCallFunction.cpp b/lldb/source/Target/ThreadPlanCallFunction.cpp index 3ab2a56..c7ee799 100644 --- a/lldb/source/Target/ThreadPlanCallFunction.cpp +++ b/lldb/source/Target/ThreadPlanCallFunction.cpp @@ -398,7 +398,7 @@ ThreadPlanCallFunction::PlanExplainsStop () // If we want to discard the plan, then we say we explain the stop // but if we are going to be discarded, let whoever is above us // explain the stop. - if (m_subplan_sp != NULL) + if (m_subplan_sp) { if (m_discard_on_error) { |