Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp7947 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local
7950 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
7952 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
7955 std::swap(PExp, IExp); in CheckAdditionOperands()
7956 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
7958 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
7964 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands()
7969 if (!checkArithmeticOpPointerOperand(*this, Loc, PExp)) in CheckAdditionOperands()
7972 if (isObjCPointer && checkArithmeticOnObjCPointer(*this, Loc, PExp)) in CheckAdditionOperands()
7976 CheckArrayAccess(PExp, IExp); in CheckAdditionOperands()
[all …]
/external/clang/lib/AST/
DExprConstant.cpp4929 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() local
4932 std::swap(PExp, IExp); in VisitBinaryOperator()
4934 bool EvalPtrOK = EvaluatePointer(PExp, Result, Info); in VisitBinaryOperator()
4946 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator()