reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
697 ET = ErrorType::NullptrWithOffset; 699 ET = ErrorType::NullptrWithNonZeroOffset; 701 ET = ErrorType::NullptrAfterNonZeroOffset; 703 ET = ErrorType::PointerOverflow; 705 if (ignoreReport(Loc, Opts, ET)) 708 ScopedReport R(Opts, Loc, ET); 710 if (ET == ErrorType::NullptrWithOffset) { 711 Diag(Loc, DL_Error, ET, "applying zero offset to null pointer"); 712 } else if (ET == ErrorType::NullptrWithNonZeroOffset) { 713 Diag(Loc, DL_Error, ET, "applying non-zero offset %0 to null pointer") 715 } else if (ET == ErrorType::NullptrAfterNonZeroOffset) { 717 Loc, DL_Error, ET, 722 Diag(Loc, DL_Error, ET, 726 Diag(Loc, DL_Error, ET, 730 Diag(Loc, DL_Error, ET,