Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2189 const Expr *PExp; in isNullPointerArithmeticExtension() local
2193 PExp = LHS; in isNullPointerArithmeticExtension()
2197 PExp = RHS; in isNullPointerArithmeticExtension()
2203 if (!PExp->IgnoreParenCasts() in isNullPointerArithmeticExtension()
2208 const PointerType *PTy = PExp->getType()->getAs<PointerType>(); in isNullPointerArithmeticExtension()
H A DExprConstant.cpp9118 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() local
9121 std::swap(PExp, IExp); in VisitBinaryOperator()
9123 bool EvalPtrOK = evaluatePointer(PExp, Result); in VisitBinaryOperator()
9134 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp11896 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local
11899 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
11901 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
11904 std::swap(PExp, IExp); in CheckAdditionOperands()
11905 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
11913 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands()
11919 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands()
11929 Context, BO_Add, PExp, IExp); in CheckAdditionOperands()
11934 if (!checkArithmeticOpPointerOperand(*this, Loc, PExp)) in CheckAdditionOperands()
11941 CheckArrayAccess(PExp, IExp); in CheckAdditionOperands()
[all …]