new loplugin:unnecessary locking

Desktop / LibreOffice - Noel Grandin [collabora.co.uk] - 20 May 2022 06:03 UTC

off by default, since each warning needs careful inspection

Change-Id: I805c1d1cdde531a1afdc76e87b22f879fc3c9753 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134641

f2c02331a7dc new loplugin:unnecessary locking
.../extended/AccessibleGridControlTableCell.cxx | 6 -
compilerplugins/clang/test/unnecessarylocking.cxx | 71 +++++++
compilerplugins/clang/unnecessarylocking.cxx | 215 +++++++++++++++++++++
.../source/accessibility/AccessibleImageBullet.cxx | 6 -
sc/source/core/data/dptabsrc.cxx | 7 -
sc/source/ui/unoobj/cellsuno.cxx | 3 -
sc/source/ui/unoobj/chartuno.cxx | 1 -
sc/source/ui/unoobj/docuno.cxx | 2 -
sc/source/ui/unoobj/eventuno.cxx | 2 -
sc/source/ui/unoobj/nameuno.cxx | 2 -
sc/source/ui/unoobj/shapeuno.cxx | 2 -
sc/source/ui/unoobj/targuno.cxx | 1 -
sc/source/ui/unoobj/tokenuno.cxx | 1 -
scripting/source/basprov/baslibnode.cxx | 2 -
scripting/source/basprov/basmodnode.cxx | 2 -
.../ui/accessibility/AccessibleOutlineView.cxx | 5 +-
sfx2/source/sidebar/UnoDecks.cxx | 2 -
sfx2/source/sidebar/UnoPanels.cxx | 2 -
solenv/CompilerTest_compilerplugins_clang.mk | 1 +
starmath/source/accessibility.cxx | 4 +-
sw/source/core/unocore/unoframe.cxx | 2 -
sw/source/core/unocore/unolinebreak.cxx | 2 -
sw/source/core/unocore/unoparagraph.cxx | 1 -
sw/source/core/unocore/unostyle.cxx | 4 -
sw/source/core/unocore/unotextmarkup.cxx | 5 +-
sw/source/uibase/uno/unotxdoc.cxx | 12 +-
toolkit/source/awt/vclxwindows.cxx | 1 -
vcl/source/graphic/UnoGraphicProvider.cxx | 4 -
vcl/source/uitest/uno/uitest_uno.cxx | 5 -
xmlscript/source/xmlflat_imexp/xmlbas_export.cxx | 2 -
30 files changed, 292 insertions(+), 83 deletions(-)

Upstream: cgit.freedesktop.org


  • Share