loplugin:constvars, look for loop vars that can be const

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 21 August 2019 09:16 EDT

Change-Id: I67ee714739800f3718f9d3facf57474cd564d855 Reviewed-on: https://gerrit.libreoffice.org/77415

10280dabe2c1 loplugin:constvars, look for loop vars that can be const
bridges/source/cpp_uno/shared/vtablefactory.cxx | 2 +-
compilerplugins/clang/constvars.cxx | 70 ++++++++++++++++++----
compilerplugins/clang/test/constvars.cxx | 60 ++++++++++++++++++-
slideshow/source/engine/slide/userpaintoverlay.cxx | 2 +-
.../source/dmapper/DomainMapperTableHandler.cxx | 4 +-
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 +-
writerfilter/source/dmapper/PropertyMap.cxx | 6 +-
writerfilter/source/dmapper/SdtHelper.cxx | 2 +-
writerfilter/source/dmapper/StyleSheetTable.cxx | 4 +-
.../source/rtftok/rtfdispatchdestination.cxx | 2 +-
writerfilter/source/rtftok/rtfdispatchflag.cxx | 2 +-
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 16 ++---
writerfilter/source/rtftok/rtfsdrimport.cxx | 2 +-
writerfilter/source/rtftok/rtfsprm.cxx | 2 +-
.../xmlsec/nss/securityenvironment_nssimpl.cxx | 2 +-
15 files changed, 141 insertions(+), 37 deletions(-)

Upstream: cgit.freedesktop.org


  • Share