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

@@ -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);