Removed explicit NULL checks for shared pointers
authorSean Callanan <scallanan@apple.com>
Thu, 9 Aug 2012 00:50:26 +0000 (00:50 +0000)
committerSean Callanan <scallanan@apple.com>
Thu, 9 Aug 2012 00:50:26 +0000 (00:50 +0000)
commit9a028519e8e759ecd5157fa8e7bdadae6da54651
tree8fec32c5a99b2cff7cd3a8e150e6f6a5b2974cdb
parent33baca29e53d781f3b1d2fb908079afd7da865b9
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
16 files changed:
lldb/source/Commands/CommandObjectDisassemble.cpp
lldb/source/Core/Debugger.cpp
lldb/source/Expression/ClangExpressionDeclMap.cpp
lldb/source/Expression/ClangExpressionParser.cpp
lldb/source/Expression/ClangFunction.cpp
lldb/source/Expression/ClangUserExpression.cpp
lldb/source/Expression/IRInterpreter.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/source/Target/Process.cpp
lldb/source/Target/Thread.cpp
lldb/source/Target/ThreadPlanCallFunction.cpp
lldb/source/Target/ThreadPlanStepUntil.cpp