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

References

tools/clang/lib/Sema/SemaExpr.cpp
 9446   if (S.getLangOpts().OpenCL && isLHSPointer && isRHSPointer) {
 9450       S.Diag(Loc,
 9462     if (!isRHSVoidPtr) diagnoseArithmeticOnVoidPointer(S, Loc, LHSExpr);
 9463     else if (!isLHSVoidPtr) diagnoseArithmeticOnVoidPointer(S, Loc, RHSExpr);
 9464     else diagnoseArithmeticOnTwoVoidPointers(S, Loc, LHSExpr, RHSExpr);
 9466     return !S.getLangOpts().CPlusPlus;
 9472     if (!isRHSFuncPtr) diagnoseArithmeticOnFunctionPointer(S, Loc, LHSExpr);
 9473     else if (!isLHSFuncPtr) diagnoseArithmeticOnFunctionPointer(S, Loc,
 9475     else diagnoseArithmeticOnTwoFunctionPointers(S, Loc, LHSExpr, RHSExpr);
 9477     return !S.getLangOpts().CPlusPlus;
 9480   if (isLHSPointer && checkArithmeticIncompletePointerType(S, Loc, LHSExpr))
 9482   if (isRHSPointer && checkArithmeticIncompletePointerType(S, Loc, RHSExpr))