Home
last modified time | relevance | path

Searched refs:PExp (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaExpr.cpp6515 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local
6518 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
6520 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
6523 std::swap(PExp, IExp); in CheckAdditionOperands()
6524 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
6526 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
6532 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands()
6537 if (!checkArithmeticOpPointerOperand(*this, Loc, PExp)) in CheckAdditionOperands()
6540 if (isObjCPointer && checkArithmeticOnObjCPointer(*this, Loc, PExp)) in CheckAdditionOperands()
6544 CheckArrayAccess(PExp, IExp); in CheckAdditionOperands()
[all …]
/external/clang/lib/AST/
DExprConstant.cpp3032 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() local
3035 std::swap(PExp, IExp); in VisitBinaryOperator()
3037 bool EvalPtrOK = EvaluatePointer(PExp, Result, Info); in VisitBinaryOperator()
3050 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator()