Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExpr.cpp8197 bool isLHSPointer = LHSExpr->getType()->isAnyPointerType(); in checkArithmeticBinOpPointerOperands() local
8199 if (!isLHSPointer && !isRHSPointer) return true; in checkArithmeticBinOpPointerOperands()
8202 if (isLHSPointer) LHSPointeeTy = LHSExpr->getType()->getPointeeType(); in checkArithmeticBinOpPointerOperands()
8206 if (S.getLangOpts().OpenCL && isLHSPointer && isRHSPointer) { in checkArithmeticBinOpPointerOperands()
8219 bool isLHSVoidPtr = isLHSPointer && LHSPointeeTy->isVoidType(); in checkArithmeticBinOpPointerOperands()
8229 bool isLHSFuncPtr = isLHSPointer && LHSPointeeTy->isFunctionType(); in checkArithmeticBinOpPointerOperands()
8240 if (isLHSPointer && checkArithmeticIncompletePointerType(S, Loc, LHSExpr)) in checkArithmeticBinOpPointerOperands()