[Libreoffice-commits] core.git: compilerplugins/clang

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 26 18:18:04 UTC 2019


 compilerplugins/clang/virtualdead.py      |    2 
 compilerplugins/clang/virtualdead.results |   68 ------------------------------
 2 files changed, 2 insertions(+), 68 deletions(-)

New commits:
commit 5a1163c202f6c4eb519cac9732e681f3c5a4d516
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Sep 26 10:35:13 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Sep 26 20:16:45 2019 +0200

    loplugin:virtualdead filter out some more stuff
    
    in the post-processing step
    
    Change-Id: I5c57f9ded6a52d541694c5972656e33bb7771de6
    Reviewed-on: https://gerrit.libreoffice.org/79637
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/virtualdead.py b/compilerplugins/clang/virtualdead.py
index e32b5d788cb5..9f5ab39663d0 100755
--- a/compilerplugins/clang/virtualdead.py
+++ b/compilerplugins/clang/virtualdead.py
@@ -36,6 +36,8 @@ for callInfo, callValues in callDict.iteritems():
     callValue = next(iter(callValues))
     if "unknown-stmt" in callValue:
         continue
+    if "unknown2" in callValue:
+        continue
     if "unknown3" in callValue:
         continue
     if "unknown4" in callValue:
diff --git a/compilerplugins/clang/virtualdead.results b/compilerplugins/clang/virtualdead.results
index d12c812faf4c..f390455930ec 100644
--- a/compilerplugins/clang/virtualdead.results
+++ b/compilerplugins/clang/virtualdead.results
@@ -25,33 +25,6 @@ desktop/source/deployment/registry/inc/dp_backenddb.hxx:119
 extensions/source/bibliography/loadlisteneradapter.hxx:111
     void bib::OLoadListener::_unloaded(const struct com::sun::star::lang::EventObject &,)
     empty
-extensions/source/propctrlr/commoncontrol.hxx:127
-    short pcr::CommonBehaviourControl::getControlType()
-    unknown2
-extensions/source/propctrlr/commoncontrol.hxx:129
-    class com::sun::star::uno::Reference<class com::sun::star::inspection::XPropertyControlContext> pcr::CommonBehaviourControl::getControlContext()
-    unknown2
-extensions/source/propctrlr/commoncontrol.hxx:133
-    class com::sun::star::uno::Reference<class com::sun::star::awt::XWindow> pcr::CommonBehaviourControl::getControlWindow()
-    unknown2
-extensions/source/propctrlr/commoncontrol.hxx:135
-    unsigned char pcr::CommonBehaviourControl::isModified()
-    unknown2
-forms/source/xforms/datatypes.hxx:237
-    class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertySetInfo> xforms::ODerivedDataType::getPropertySetInfo()
-    unknown2
-forms/source/xforms/namedcollection.hxx:80
-    class com::sun::star::uno::Type NamedCollection::getElementType()
-    unknown2
-forms/source/xforms/namedcollection.hxx:85
-    unsigned char NamedCollection::hasElements()
-    unknown2
-forms/source/xforms/namedcollection.hxx:99
-    class com::sun::star::uno::Sequence<class rtl::OUString> NamedCollection::getElementNames()
-    unknown2
-forms/source/xforms/namedcollection.hxx:104
-    unsigned char NamedCollection::hasByName(const class rtl::OUString &,)
-    unknown2
 Gui/qaccessible.h:465
     class QObject * QAccessibleInterface::object()const
     0
@@ -82,42 +55,21 @@ include/basegfx/utils/unopolypolygon.hxx:97
 include/canvas/base/bitmapcanvasbase.hxx:80
     unsigned char canvas::BitmapCanvasBase::hasAlpha()
     1
-include/canvas/base/bufferedgraphicdevicebase.hxx:95
-    class com::sun::star::uno::Reference<class com::sun::star::rendering::XBufferController> canvas::BufferedGraphicDeviceBase::getBufferController()
-    unknown2
 include/canvas/base/bufferedgraphicdevicebase.hxx:108
     void canvas::BufferedGraphicDeviceBase::destroyBuffers()
     empty
-include/canvas/base/graphicdevicebase.hxx:230
-    class com::sun::star::uno::Reference<class com::sun::star::lang::XMultiServiceFactory> canvas::GraphicDeviceBase::getParametricPolyPolygonFactory()
-    unknown2
 include/canvas/base/graphicdevicebase.hxx:235
     unsigned char canvas::GraphicDeviceBase::hasFullScreenMode()
     0
 include/canvas/base/graphicdevicebase.hxx:240
     unsigned char canvas::GraphicDeviceBase::enterFullScreenMode(unsigned char,)
     0
-include/canvas/base/graphicdevicebase.hxx:246
-    class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> canvas::GraphicDeviceBase::createInstance(const class rtl::OUString &,)
-    unknown2
-include/canvas/base/graphicdevicebase.hxx:254
-    class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> canvas::GraphicDeviceBase::createInstanceWithArguments(const class rtl::OUString &,const class com::sun::star::uno::Sequence<class com::sun::star::uno::Any> &,)
-    unknown2
 include/canvas/base/graphicdevicebase.hxx:306
     void canvas::GraphicDeviceBase::removePropertyChangeListener(const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertyChangeListener> &,)
     empty
 include/canvas/base/graphicdevicebase.hxx:319
     void canvas::GraphicDeviceBase::removeVetoableChangeListener(const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::beans::XVetoableChangeListener> &,)
     empty
-include/comphelper/servicedecl.hxx:164
-    class rtl::OUString comphelper::service_decl::detail::OwnServiceImpl::getImplementationName()
-    unknown2
-include/comphelper/servicedecl.hxx:167
-    unsigned char comphelper::service_decl::detail::OwnServiceImpl::supportsService(const class rtl::OUString &,)
-    unknown2
-include/comphelper/servicedecl.hxx:171
-    class com::sun::star::uno::Sequence<class rtl::OUString> comphelper::service_decl::detail::OwnServiceImpl::getSupportedServiceNames()
-    unknown2
 include/connectivity/sdbcx/IRefreshable.hxx:31
     void connectivity::sdbcx::IRefreshableGroups::refreshGroups()
     empty
@@ -163,23 +115,9 @@ include/ucbhelper/resultset.hxx:425
 include/unotools/desktopterminationobserver.hxx:35
     _Bool utl::ITerminationListener::queryTermination()const
     1
-include/vbahelper/vbacollectionimpl.hxx:290
-    int ScVbaCollectionBase::getCount()
-    unknown2
-include/vbahelper/vbacollectionimpl.hxx:324
-    unsigned char ScVbaCollectionBase::hasElements()
-    unknown2
 include/vbahelper/vbahelperinterface.hxx:77
     int InheritedHelperInterfaceImpl::getCreator()
     1400204879
-include/vbahelper/vbahelperinterface.hxx:81
-    class com::sun::star::uno::Reference<class ooo::vba::XHelperInterface> InheritedHelperInterfaceImpl::getParent()
-    unknown2
-include/vbahelper/vbahelperinterface.hxx:91
-    class rtl::OUString InheritedHelperInterfaceImpl::getImplementationName()
-    unknown2
-include/vbahelper/vbareturntypes.hxx:41
-    type-parameter-?-? ooo::vba::DefaultReturnHelper::getValue()
     unknown2
 sc/source/core/opencl/formulagroupcl.cxx:1059
     void sc::opencl::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class std::__cxx11::basic_stringstream<char> &,)
@@ -187,12 +125,6 @@ sc/source/core/opencl/formulagroupcl.cxx:1059
 sc/source/core/opencl/opbase.hxx:203
     _Bool sc::opencl::OpBase::takeNumeric()const
     1
-sc/source/ui/vba/vbacondition.hxx:41
-    class rtl::OUString ScVbaCondition::Formula1()
-    unknown2
-sc/source/ui/vba/vbacondition.hxx:42
-    class rtl::OUString ScVbaCondition::Formula2()
-    unknown2
 sc/source/ui/vba/vbasheetobject.hxx:117
     class rtl::OUString ScVbaSheetObjectBase::implGetBaseName()const
     "Button"


More information about the Libreoffice-commits mailing list