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:
@@ -499,7 +499,7 @@ ClangFunction::ExecuteFunction (
|
||||
stop_others,
|
||||
discard_on_error,
|
||||
this_arg));
|
||||
if (call_plan_sp == NULL)
|
||||
if (!call_plan_sp)
|
||||
return eExecutionSetupError;
|
||||
|
||||
call_plan_sp->SetPrivate(true);
|
||||
|
||||
Reference in New Issue
Block a user