Searched refs:PExp (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Expr.cpp | 2206 Expr *PExp; in isNullPointerArithmeticExtension() local 2210 PExp = LHS; in isNullPointerArithmeticExtension() 2214 PExp = RHS; in isNullPointerArithmeticExtension() 2220 if (!PExp->IgnoreParenCasts() in isNullPointerArithmeticExtension() 2225 const PointerType *PTy = PExp->getType()->getAs<PointerType>(); in isNullPointerArithmeticExtension()
|
| H A D | ExprConstant.cpp | 8833 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() local 8836 std::swap(PExp, IExp); in VisitBinaryOperator() 8838 bool EvalPtrOK = evaluatePointer(PExp, Result); in VisitBinaryOperator() 8849 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 11462 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local 11465 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands() 11467 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands() 11470 std::swap(PExp, IExp); in CheckAdditionOperands() 11471 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands() 11473 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands() 11479 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands() 11485 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands() 11495 Context, BO_Add, PExp, IExp); in CheckAdditionOperands() 11496 diagnoseArithmeticOnNullPointer(*this, Loc, PExp, IsGNUIdiom); in CheckAdditionOperands() [all …]
|