reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
9438 bool isRHSPointer = RHSExpr->getType()->isAnyPointerType(); 9443 if (isRHSPointer) RHSPointeeTy = RHSExpr->getType()->getPointeeType(); 9448 const PointerType *rhsPtr = RHSExpr->getType()->castAs<PointerType>(); 9452 << LHSExpr->getType() << RHSExpr->getType() << 1 /*arithmetic op*/ 9453 << LHSExpr->getSourceRange() << RHSExpr->getSourceRange(); 9463 else if (!isLHSVoidPtr) diagnoseArithmeticOnVoidPointer(S, Loc, RHSExpr); 9464 else diagnoseArithmeticOnTwoVoidPointers(S, Loc, LHSExpr, RHSExpr); 9474 RHSExpr); 9475 else diagnoseArithmeticOnTwoFunctionPointers(S, Loc, LHSExpr, RHSExpr); 9482 if (isRHSPointer && checkArithmeticIncompletePointerType(S, Loc, RHSExpr))