summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/unusedmethods.py
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 11:41:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 11:43:40 +0000
commit9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12 (patch)
tree51815ec709869dd297c10b8359b3bc4736204a98 /compilerplugins/clang/unusedmethods.py
parentcli_ure: fix another bad _WIN64 check (related tdf#94265) (diff)
downloadcore-9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12.tar.gz
core-9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12.zip
loplugin:unusedmethods
Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0 Reviewed-on: https://gerrit.libreoffice.org/35834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/unusedmethods.py')
-rwxr-xr-xcompilerplugins/clang/unusedmethods.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py
index b5bf06ba985d..a3368f45f921 100755
--- a/compilerplugins/clang/unusedmethods.py
+++ b/compilerplugins/clang/unusedmethods.py
@@ -56,8 +56,11 @@ unusedMethodsExclusionSet = set([
"_Bool ScImportExport::ImportData(const class rtl::OUString &,const class com::sun::star::uno::Any &)",
"void* ScannerManager::GetData()",
"void ScannerManager::SetData(void *)",
+ "class rtl::OUString FilterConfigCache::GetImportFormatMediaType(unsigned short)",
# only used by OSX build
"void StyleSettings::SetHideDisabledMenuItems(_Bool)",
+ "_Bool TabitemValue::isLast() const",
+ "ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &)",
# debugging methods
"void oox::drawingml::TextParagraphProperties::dump() const",
"void oox::PropertyMap::dumpCode(class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertySet>)",
@@ -93,6 +96,11 @@ unusedMethodsExclusionSet = set([
"class vcl::Window * CreateWindow(class VCLXWindow **,const struct com::sun::star::awt::WindowDescriptor *,class vcl::Window *,long)",
# only used when the ODBC driver is enabled
"_Bool getImplementation(type-parameter-?-? *&,const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)",
+ # called from extensions
+ "unsigned short MenuBar::AddMenuBarButton(const class Image &,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &,const class rtl::OUString &)",
+ "void MenuBar::SetMenuBarButtonHighlightHdl(unsigned short,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &)",
+ "class Rectangle MenuBar::GetMenuBarButtonRectPixel(unsigned short)",
+ "void MenuBar::RemoveMenuBarButton(unsigned short)",
])
# clang does not always use exactly the same numbers in the type-parameter vars it generates