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
This commit is contained in:
Sean Callanan
2012-08-09 00:50:26 +00:00
parent 33baca29e5
commit 9a028519e8
16 changed files with 21 additions and 21 deletions

View File

@@ -4515,7 +4515,7 @@ Process::RunThreadPlan (ExecutionContext &exe_ctx,
StopPrivateStateThread();
Error error;
m_private_state_thread = backup_private_state_thread;
if (stopper_base_plan_sp != NULL)
if (stopper_base_plan_sp)
{
thread->DiscardThreadPlansUpToPlan(stopper_base_plan_sp);
}