Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp1967 Expr *PExp; in isNullPointerArithmeticExtension() local
1971 PExp = LHS; in isNullPointerArithmeticExtension()
1975 PExp = RHS; in isNullPointerArithmeticExtension()
1981 if (!PExp->IgnoreParenCasts() in isNullPointerArithmeticExtension()
1986 const PointerType *PTy = PExp->getType()->getAs<PointerType>(); in isNullPointerArithmeticExtension()
H A DExprConstant.cpp5850 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() local
5853 std::swap(PExp, IExp); in VisitBinaryOperator()
5855 bool EvalPtrOK = evaluatePointer(PExp, Result); in VisitBinaryOperator()
5866 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp9261 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local
9264 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
9266 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
9269 std::swap(PExp, IExp); in CheckAdditionOperands()
9270 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
9278 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands()
9284 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands()
9294 Context, BO_Add, PExp, IExp); in CheckAdditionOperands()
9299 if (!checkArithmeticOpPointerOperand(*this, Loc, PExp)) in CheckAdditionOperands()
9306 CheckArrayAccess(PExp, IExp); in CheckAdditionOperands()
[all …]