new loplugin:noexceptmove
commit6e4a2540d4d8ad9e141b87ac3d2123d1c96366ef
authorNoel Grandin <noel.grandin@collabora.co.uk>
Thu, 29 Aug 2019 08:35:23 +0000 (29 10:35 +0200)
committerNoel Grandin <noel.grandin@collabora.co.uk>
Fri, 30 Aug 2019 06:12:07 +0000 (30 08:12 +0200)
treec37720e7c9cb051f80aa1294b17b53e23b243187
parent0285492a45e9cc19c26e14dcdf297bcc491da4d2
new loplugin:noexceptmove

idea from mike kaganski

look for places where we can mark move operators as noexcept, which
makes some STL operations more efficient

Change-Id: Id732b89d1fcadd5ceb0ea2b9d159fed06136330f
Reviewed-on: https://gerrit.libreoffice.org/78251
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
38 files changed:
compilerplugins/clang/noexceptmove.cxx [new file with mode: 0644]
compilerplugins/clang/test/noexceptmove.cxx [new file with mode: 0644]
connectivity/source/drivers/evoab2/NStatement.hxx
cppu/source/uno/lbmap.cxx
include/com/sun/star/uno/Reference.h
include/com/sun/star/uno/Reference.hxx
include/cppuhelper/weakref.hxx
include/osl/pipe.hxx
include/osl/pipe_decl.hxx
include/osl/socket.hxx
include/osl/socket_decl.hxx
include/registry/registry.hxx
include/rtl/byteseq.h
include/rtl/byteseq.hxx
include/rtl/ref.hxx
include/rtl/string.hxx
include/rtl/ustring.hxx
include/sfx2/objsh.hxx
include/store/store.hxx
include/tools/globname.hxx
include/tools/poly.hxx
include/typelib/typedescription.hxx
include/uno/dispatcher.hxx
include/uno/environment.hxx
include/uno/mapping.hxx
include/unotools/itemholderbase.hxx
include/unotools/tempfile.hxx
include/vcl/alpha.hxx
include/vcl/font.hxx
include/vcl/region.hxx
solenv/CompilerTest_compilerplugins_clang.mk
sw/inc/IDocumentMarkAccess.hxx
sw/source/core/doc/docbm.cxx
tools/source/generic/poly.cxx
tools/source/ref/globname.cxx
unotools/source/ucbhelper/tempfile.cxx
vcl/source/font/font.cxx
vcl/source/gdi/region.cxx