mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user