Remove superfluous call to getAsPointerType()...

llvm-svn: 75509
This commit is contained in:
Steve Naroff 2009-07-13 21:32:29 +00:00
parent e4dcecd006
commit a63372da72
1 changed files with 2 additions and 2 deletions

View File

@ -3857,7 +3857,7 @@ inline QualType Sema::CheckAdditionOperands( // C99 6.5.6
} else {
// Check if we require a complete type.
if (((PExp->getType()->isPointerType() &&
!PExp->getType()->getAsPointerType()->isDependentType()) ||
!PExp->getType()->isDependentType()) ||
PExp->getType()->isObjCObjectPointerType()) &&
RequireCompleteType(Loc, PointeeTy,
diag::err_typecheck_arithmetic_incomplete_type,