Searched refs:PExp (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 2145 Expr *PExp; in isNullPointerArithmeticExtension() local 2149 PExp = LHS; in isNullPointerArithmeticExtension() 2153 PExp = RHS; in isNullPointerArithmeticExtension() 2159 if (!PExp->IgnoreParenCasts() in isNullPointerArithmeticExtension() 2164 const PointerType *PTy = PExp->getType()->getAs<PointerType>(); in isNullPointerArithmeticExtension()
|
| H A D | ExprConstant.cpp | 8711 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() local 8714 std::swap(PExp, IExp); in VisitBinaryOperator() 8716 bool EvalPtrOK = evaluatePointer(PExp, Result); in VisitBinaryOperator() 8727 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 10722 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local 10725 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands() 10727 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands() 10730 std::swap(PExp, IExp); in CheckAdditionOperands() 10731 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands() 10739 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands() 10745 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands() 10755 Context, BO_Add, PExp, IExp); in CheckAdditionOperands() 10760 if (!checkArithmeticOpPointerOperand(*this, Loc, PExp)) in CheckAdditionOperands() 10767 CheckArrayAccess(PExp, IExp); in CheckAdditionOperands() [all …]
|