new loplugin fpcomparison

Desktop / LibreOffice - Noel Grandin [peralex.com] - 4 February 2016 00:41 UTC

Find code that compares floating point values with == or != It should rather use rtl::math::approxEqual

Change-Id: I9026e08823340fa1d6a042c430515344c93215bd Reviewed-on: https://gerrit.libreoffice.org/21997

4e9b528 new loplugin fpcomparison
compilerplugins/clang/fpcomparison.cxx | 146 ++++++++++++++++++++++++++++++
libreofficekit/source/gtk/lokdocview.cxx | 2 +-
sw/source/core/layout/paintfrm.cxx | 4 +-
3 files changed, 149 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share