Lines Matching refs:PExp
11894 // Type-checking. Ultimately the pointer's going to be in PExp;
11896 Expr *PExp = LHS.get(), *IExp = RHS.get();
11899 if (PExp->getType()->isPointerType()) {
11901 } else if (PExp->getType()->isObjCObjectPointerType()) {
11904 std::swap(PExp, IExp);
11905 if (PExp->getType()->isPointerType()) {
11907 } else if (PExp->getType()->isObjCObjectPointerType()) {
11913 assert(PExp->getType()->isAnyPointerType());
11919 if (PExp->IgnoreParenCasts()->isNullPointerConstant(
11929 Context, BO_Add, PExp, IExp);
11930 diagnoseArithmeticOnNullPointer(*this, Loc, PExp, IsGNUIdiom);
11934 if (!checkArithmeticOpPointerOperand(*this, Loc, PExp))
11937 if (isObjCPointer && checkArithmeticOnObjCPointer(*this, Loc, PExp))
11941 CheckArrayAccess(PExp, IExp);
11953 return PExp->getType();