Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp8198 bool isRHSPointer = RHSExpr->getType()->isAnyPointerType(); in checkArithmeticBinOpPointerOperands() local
8199 if (!isLHSPointer && !isRHSPointer) return true; in checkArithmeticBinOpPointerOperands()
8203 if (isRHSPointer) RHSPointeeTy = RHSExpr->getType()->getPointeeType(); in checkArithmeticBinOpPointerOperands()
8206 if (S.getLangOpts().OpenCL && isLHSPointer && isRHSPointer) { in checkArithmeticBinOpPointerOperands()
8220 bool isRHSVoidPtr = isRHSPointer && RHSPointeeTy->isVoidType(); in checkArithmeticBinOpPointerOperands()
8230 bool isRHSFuncPtr = isRHSPointer && RHSPointeeTy->isFunctionType(); in checkArithmeticBinOpPointerOperands()
8242 if (isRHSPointer && checkArithmeticIncompletePointerType(S, Loc, RHSExpr)) in checkArithmeticBinOpPointerOperands()