diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-13 09:55:03 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-13 09:56:16 +0000 |
commit | a6fed7a19befa5673403ec5fe3ab69a91475da3a (patch) | |
tree | c692d0ca693a2acfb7da3d1a2e915c79d5e0ebcd /compilerplugins | |
parent | 5a247505a36ccdb911e48f0d859572f56ec4b171 (diff) |
loplugin:unusedmethods vcl
Change-Id: I53c66b7898f4e0a66e6172d22c6f782dadaf6589
Reviewed-on: https://gerrit.libreoffice.org/16975
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/unusedmethods.cxx | 1 | ||||
-rwxr-xr-x | compilerplugins/clang/unusedmethods.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedmethods.cxx b/compilerplugins/clang/unusedmethods.cxx index 28683347fa1d..655dfe2c2855 100644 --- a/compilerplugins/clang/unusedmethods.cxx +++ b/compilerplugins/clang/unusedmethods.cxx @@ -40,6 +40,7 @@ TODO need to handle places where the code takes the address of a method, that ne as a use-site. TODO deal with free functions and static methods TODO track instantiations of template class constructor methods +TODO track instantiation of overridden methods when a template class is instantiated */ namespace { diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py index 05e38b66b4f4..ef2beb9dbe73 100755 --- a/compilerplugins/clang/unusedmethods.py +++ b/compilerplugins/clang/unusedmethods.py @@ -29,6 +29,7 @@ exclusionSet = set([ "void comphelper::IEventProcessor::release()", "void SotMutexHolder::acquire()", "void SotMutexHolder::release()", + "class Rectangle ComboBox::GetDropDownPosSizePixel() const" # only used by Windows build "_Bool basegfx::B2ITuple::equalZero() const", "class basegfx::B2DPolyPolygon basegfx::unotools::UnoPolyPolygon::getPolyPolygonUnsafe() const", |