Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp2076 Expr *PExp; in isNullPointerArithmeticExtension() local
2080 PExp = LHS; in isNullPointerArithmeticExtension()
2084 PExp = RHS; in isNullPointerArithmeticExtension()
2090 if (!PExp->IgnoreParenCasts() in isNullPointerArithmeticExtension()
2095 const PointerType *PTy = PExp->getType()->getAs<PointerType>(); in isNullPointerArithmeticExtension()
H A DExprConstant.cpp8688 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() local
8691 std::swap(PExp, IExp); in VisitBinaryOperator()
8693 bool EvalPtrOK = evaluatePointer(PExp, Result); in VisitBinaryOperator()
8704 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp10642 Expr *PExp = LHS.get(), *IExp = RHS.get(); in CheckAdditionOperands() local
10645 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
10647 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
10650 std::swap(PExp, IExp); in CheckAdditionOperands()
10651 if (PExp->getType()->isPointerType()) { in CheckAdditionOperands()
10653 } else if (PExp->getType()->isObjCObjectPointerType()) { in CheckAdditionOperands()
10659 assert(PExp->getType()->isAnyPointerType()); in CheckAdditionOperands()
10665 if (PExp->IgnoreParenCasts()->isNullPointerConstant( in CheckAdditionOperands()
10675 Context, BO_Add, PExp, IExp); in CheckAdditionOperands()
10676 diagnoseArithmeticOnNullPointer(*this, Loc, PExp, IsGNUIdiom); in CheckAdditionOperands()
[all …]