summaryrefslogtreecommitdiff
path: root/comphelper/IwyuFilter_comphelper.yaml
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-04-13 21:42:04 +0200
committerCaolán McNamara <caolanm@redhat.com>2019-04-19 11:31:19 +0200
commit368f20001c0d152f48575335757e3c3c3b7e5750 (patch)
tree4b31d53a04f5033704962ca513197b2e9274697a /comphelper/IwyuFilter_comphelper.yaml
parentc618b8eae79b8d87ad5002466ef59c5694d4cea0 (diff)
tdf#42949 Fix IWYU warnings in comphelper
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Also re-evaluate some blacklisted headers and recheck include/comphelper/ Change-Id: Ib7eea5951e849c07cea2e2782be4e8945f71ad96 Reviewed-on: https://gerrit.libreoffice.org/70899 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'comphelper/IwyuFilter_comphelper.yaml')
-rw-r--r--comphelper/IwyuFilter_comphelper.yaml85
1 files changed, 85 insertions, 0 deletions
diff --git a/comphelper/IwyuFilter_comphelper.yaml b/comphelper/IwyuFilter_comphelper.yaml
new file mode 100644
index 000000000000..ca21c3a9e785
--- /dev/null
+++ b/comphelper/IwyuFilter_comphelper.yaml
@@ -0,0 +1,85 @@
+---
+assumeFilename: comphelper/source/misc/solarmutex.cxx
+blacklist:
+ comphelper/source/misc/instancelocker.hxx:
+ # Base class has to be a complete type
+ - com/sun/star/lang/XComponent.hpp
+ - com/sun/star/lang/XInitialization.hpp
+ - com/sun/star/lang/XServiceInfo.hpp
+ - com/sun/star/util/XCloseListener.hpp
+ - com/sun/star/frame/XTerminateListener.hpp
+ comphelper/source/property/opropertybag.hxx:
+ # Base class has to be a complete type
+ - com/sun/star/beans/XPropertyBag.hpp
+ - com/sun/star/container/XSet.hpp
+ - com/sun/star/lang/XInitialization.hpp
+ - com/sun/star/lang/XServiceInfo.hpp
+ - com/sun/star/util/XModifiable.hpp
+ comphelper/source/officeinstdir/officeinstallationdirectories.hxx:
+ # Base class has to be a complete type
+ - com/sun/star/lang/XServiceInfo.hpp
+ - com/sun/star/util/XOfficeInstallationDirectories.hpp
+ comphelper/source/container/IndexedPropertyValuesContainer.cxx:
+ # Needed for typedef
+ - com/sun/star/beans/PropertyValue.hpp
+ comphelper/source/container/NamedPropertyValuesContainer.cxx:
+ # Needed for typedef
+ - com/sun/star/beans/PropertyValue.hpp
+ comphelper/source/container/enumerablemap.cxx:
+ # Avoid loplugin:unreffun error
+ - comphelper_services.hxx
+ comphelper/source/container/namecontainer.cxx:
+ # Needed for NameContainer_createInstance
+ - comphelper/namecontainer.hxx
+ comphelper/source/eventattachermgr/eventattachermgr.cxx:
+ # Needed for linker visibility
+ - comphelper/eventattachermgr.hxx
+ comphelper/source/misc/fileurl.cxx:
+ # Needed for linker visibility
+ - comphelper/fileurl.hxx
+ comphelper/source/misc/getexpandeduri.cxx:
+ # Needed for linker visibility
+ - comphelper/getexpandeduri.hxx
+ comphelper/source/misc/graphicmimetype.cxx:
+ # Needed for direct member access
+ - com/sun/star/io/XInputStream.hpp
+ comphelper/source/misc/hash.cxx:
+ # OSL_BIGENDIAN is being checked
+ - osl/endian.h
+ include/comphelper/interaction.hxx:
+ # Stop warnings about include/
+ - com/sun/star/task/XInteractionApprove.hpp
+ - com/sun/star/task/XInteractionDisapprove.hpp
+ - com/sun/star/task/XInteractionAbort.hpp
+ - com/sun/star/task/XInteractionRetry.hpp
+ include/comphelper/namedvaluecollection.hxx:
+ # Stop warnings about include/
+ - com/sun/star/beans/PropertyValue.hpp
+ - com/sun/star/beans/NamedValue.hpp
+ include/comphelper/servicedecl.hxx:
+ # Stop warnings about include/
+ - com/sun/star/uno/XComponentContext.hpp
+ comphelper/source/misc/simplefileaccessinteraction.cxx:
+ # Needed for UnoType template
+ - com/sun/star/task/XInteractionAbort.hpp
+ - com/sun/star/task/XInteractionApprove.hpp
+ comphelper/source/misc/stillreadwriteinteraction.cxx:
+ # Needed for UnoType template
+ - com/sun/star/task/XInteractionAbort.hpp
+ - com/sun/star/task/XInteractionApprove.hpp
+ comphelper/source/misc/synchronousdispatch.cxx:
+ # Needed for direct member access
+ - com/sun/star/lang/XComponent.hpp
+ comphelper/source/processfactory/processfactory.cxx:
+ # Needed for linker visibility
+ - comphelper/processfactory.hxx
+ # Needed for direct member access
+ - com/sun/star/uno/XComponentContext.hpp
+ include/comphelper/MasterPropertySet.hxx:
+ # Stop warnings about include/
+ - namespace comphelper { class ChainablePropertySet; }
+ comphelper/source/property/genericpropertyset.cxx:
+ # Needed for linker visibility
+ - comphelper/genericpropertyset.hxx
+ # Needed for fw declared template
+ - rtl/ref.hxx