office-gobmx/sfx2/source/appl
Stephan Bergmann 16e3b84d2e Improve loplugin:dyncastvisibility to check for non-inline key functions
This would have caught the issue discussed in
709b1f3ddb "Make sure VCLXPopupMenu has unique
RTTI".  (The commit message talks about RTTI there, while what Clang actually
compared for an optimized implementation of a dynamic_cast to a final class is
vtable pointers, but the overall picture remains the same.  Both RTTI and
vtables are emitted along the key function, and if that is missing or inline,
they are emitted for each dynamic library individually, and as internal symbols
on macOS.)

This commit also addresses all the issues found by the improved
loplugin:dyncastvisibility on Linux.  See the newly added TODO in
compilerplugins/clang/dyncastvisibility.cxx and
86b86ac87e "Give DocumentEventHolder (aka
EventHolder<DocumentEvent>) a key function" for an issue with key functions for
class template instantiations.

Change-Id: Ia19155efb1d23692c92b9c97ff17f18ae7a1f3ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176576
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-14 12:49:22 +01:00
..
app.cxx Improve loplugin:dyncastvisibility to check for non-inline key functions 2024-11-14 12:49:22 +01:00
appbas.cxx
appbaslib.cxx
appcfg.cxx
appchild.cxx
appdata.cxx
appdde.cxx
appdispatchprovider.cxx
appinit.cxx no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
appmain.cxx
appmisc.cxx no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
appopen.cxx
appquit.cxx
appreg.cxx
appserv.cxx no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
appuno.cxx
childwin.cxx
fileobj.cxx
fileobj.hxx
flatpak.cxx
fwkhelper.cxx
getbasctlfunction.cxx
getbasctlfunction.hxx
helpdispatch.cxx
helpdispatch.hxx
helpinterceptor.cxx
helpinterceptor.hxx
impldde.cxx
impldde.hxx
linkmgr2.cxx
linksrc.cxx
lnkbase2.cxx
macroloader.cxx
module.cxx
newhelp.cxx no need to take a copy of the getProcessComponentContext return value 2024-11-08 15:23:52 +01:00
newhelp.hxx
opengrf.cxx
openuriexternally.cxx
preventduplicateinteraction.cxx
sfxhelp.cxx clang-tidy: performance-unnecessary-copy-initialization in sfx2 2024-11-12 09:03:02 +01:00
sfxpicklist.cxx
shutdownicon.cxx
shutdownicon.hxx
shutdowniconaqua.mm
shutdowniconw32.cxx
workwin.cxx
xpackcreator.cxx