Lines Matching refs:PExp
10898 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local
10901 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
10903 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
10906 std::swap(PExp, IExp); in CheckAdditionOperands()
10907 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
10909 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
10915 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands()
10921 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands()
10931 Context, BO_Add, PExp, IExp); in CheckAdditionOperands()
10932 diagnoseArithmeticOnNullPointer(*this, Loc, PExp, IsGNUIdiom); in CheckAdditionOperands()
10936 if (!checkArithmeticOpPointerOperand(*this, Loc, PExp)) in CheckAdditionOperands()
10939 if (isObjCPointer && checkArithmeticOnObjCPointer(*this, Loc, PExp)) in CheckAdditionOperands()
10944 if (isa<AddrLabelExpr>(PExp) && getLangOpts().PointerAuthIndirectGotos) { in CheckAdditionOperands()
10951 CheckArrayAccess(PExp, IExp); in CheckAdditionOperands()
10963 return PExp->getType(); in CheckAdditionOperands()