reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExpr.cpp
 9678   checkArithmeticNull(*this, LHS, RHS, Loc, /*IsCompare=*/false);
 9680   if (LHS.get()->getType()->isVectorType() ||
 9683         LHS, RHS, Loc, CompLHSTy,
 9690   QualType compType = UsualArithmeticConversions(LHS, RHS, CompLHSTy);
 9691   if (LHS.isInvalid() || RHS.isInvalid())
 9703   if (LHS.get()->getType()->isAnyPointerType()) {
 9704     QualType lpointee = LHS.get()->getType()->getPointeeType();
 9707     if (LHS.get()->getType()->isObjCObjectPointerType() &&
 9708         checkArithmeticOnObjCPointer(*this, Loc, LHS.get()))
 9716       if (LHS.get()->IgnoreParenCasts()->isNullPointerConstant(Context,
 9724           diagnoseArithmeticOnNullPointer(*this, Loc, LHS.get(), false);
 9728       if (!checkArithmeticOpPointerOperand(*this, Loc, LHS.get()))
 9732       CheckArrayAccess(LHS.get(), RHS.get(), /*ArraySubscriptExpr*/nullptr,
 9735       if (CompLHSTy) *CompLHSTy = LHS.get()->getType();
 9736       return LHS.get()->getType();
 9747           diagnosePointerIncompatibility(*this, Loc, LHS.get(), RHS.get());
 9754           diagnosePointerIncompatibility(*this, Loc, LHS.get(), RHS.get());
 9760                                                LHS.get(), RHS.get()))
 9773             << LHS.get()->getSourceRange() << RHS.get()->getSourceRange();
 9777       if (CompLHSTy) *CompLHSTy = LHS.get()->getType();
 9782   return InvalidOperands(Loc, LHS, RHS);