improve loplugin:refcounting

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 20 January 2023 12:58 UTC

to catch places where we are converting a weak reference to a strong reference, and then using a pointer to store the result

Change-Id: I69b132907b574e5c6974fadf18bd9658107d3a0d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145877

32c8b03f6172 improve loplugin:refcounting
compilerplugins/clang/refcounting.cxx | 68 ++++++++++++++++++++++++++++++
compilerplugins/clang/test/refcounting.cxx | 23 ++++++++--
sd/source/ui/view/Outliner.cxx | 2 +-
sw/source/uibase/uiview/uivwimp.cxx | 2 +-
4 files changed, 89 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share