replace usage of blacklist with excludelist for IWYU

Background and motivation:
  https://tools.ietf.org/html/draft-knodel-terminology-02

Change-Id: I2f22d455d2a936a85750eaab1fda215ebb6d9d48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98182
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
Thorsten Behrens
2020-07-06 03:50:20 +02:00
parent abb6c01519
commit c5b985bc9b
74 changed files with 78 additions and 78 deletions

View File

@@ -1,6 +1,6 @@
---
assumeFilename: UnoControls/source/base/basecontrol.cxx
blacklist:
excludelist:
UnoControls/inc/multiplexer.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: accessibility/source/standard/accessiblemenucomponent.cxx
blacklist:
excludelist:
accessibility/source/standard/vclxaccessiblecombobox.cxx:
# Needed for implicit dtor
- vcl/window.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: avmedia/source/gstreamer/gstplayer.cxx
blacklist:
excludelist:
avmedia/source/viewer/mediawindow_impl.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: basctl/source/basicide/baside2b.cxx
blacklist:
excludelist:
basctl/source/basicide/basidesh.cxx:
# Needed for TypedWhichId defines is basslots.hxx
- sfx2/dinfdlg.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: basegfx/source/point/b2dpoint.cxx
blacklist:
excludelist:
basegfx/source/color/bcolortools.cxx:
# Needed to inherit linker visibility from function declaration
- basegfx/color/bcolortools.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: basic/source/classes/global.cxx
blacklist:
excludelist:
basic/source/runtime/methods.cxx:
# Needed on WIN
- o3tl/char16_t2wchar_t.hxx

View File

@@ -12,7 +12,7 @@
# you can generate one with 'make vim-ide-integration'.
#
# Design goals:
# - blacklist mechanism, so a warning is either fixed or blacklisted
# - exludelist mechanism, so a warning is either fixed or excluded
# - works in a plugins-enabled clang build
# - no custom configure options required
# - no need to generate a dummy library to build a header
@@ -133,10 +133,10 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
# yaml rules
if "blacklist" in moduleRules.keys():
blacklistRules = moduleRules["blacklist"]
if fileName in blacklistRules.keys():
if include in blacklistRules[fileName]:
if "excludelist" in moduleRules.keys():
excludelistRules = moduleRules["excludelist"]
if fileName in excludelistRules.keys():
if include in excludelistRules[fileName]:
return True
return False

View File

@@ -1,6 +1,6 @@
---
assumeFilename: binaryurp/source/bridge.cxx
blacklist:
excludelist:
binaryurp/source/marshal.hxx:
# Don't propose hxx -> h change in URE libs
- rtl/byteseq.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: canvas/source/cairo/cairo_canvas.cxx
blacklist:
excludelist:
canvas/inc/parametricpolypolygon.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: chart2/source/controller/main/ChartWindow.cxx
blacklist:
excludelist:
chart2/inc/ChartModel.hxx:
# base class has to be a complete type
- com/sun/star/chart2/X3DChartWindowProvider.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: comphelper/source/misc/solarmutex.cxx
blacklist:
excludelist:
comphelper/source/misc/instancelocker.hxx:
# Base class has to be a complete type
- com/sun/star/lang/XComponent.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: configmgr/source/access.cxx
blacklist:
excludelist:
configmgr/source/nodemap.hxx:
# Needed for direct member access
- node.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: connectivity/source/commontools/dbtools.cxx
blacklist:
excludelist:
connectivity/source/commontools/ConnectionWrapper.cxx:
# Actually used
- com/sun/star/beans/PropertyValue.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: cppcanvas/source/wrapper/implcanvas.cxx
blacklist:
excludelist:
cppcanvas/source/wrapper/implcanvas.cxx:
# Actually used
- com/sun/star/rendering/XCanvas.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: cppu/source/uno/data.cxx
blacklist:
excludelist:
cppu/qa/test_any.cxx:
# No hpp -> hdl replacement needed
- Enum1.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: cppuhelper/source/implbase.cxx
blacklist:
excludelist:
cppuhelper/source/typemanager.hxx:
# base class needs full type
- com/sun/star/container/XHierarchicalNameAccess.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: cui/source/options/optgenrl.cxx
blacklist:
excludelist:
cui/source/customize/macropg.cxx:
# Needed for TypedWhichId macro
- svl/macitem.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: dbaccess/source/ui/querydesign/QueryDesignView.cxx
blacklist:
excludelist:
dbaccess/source/inc/dbu_reghelper.hxx:
# Needed for registrationhelper.hxx
- com/sun/star/lang/XSingleServiceFactory.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: desktop/source/lib/init.cxx
blacklist:
excludelist:
desktop/inc/lib/init.hxx:
# Complete type is needed
- boost/property_tree/ptree.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
blacklist:
excludelist:
drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx:
# Actually used
- com/sun/star/lang/XMultiServiceFactory.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: editeng/source/editeng/impedit.cxx
blacklist:
excludelist:
editeng/source/editeng/impedit.hxx:
# Complete type needed for pointer arithmetic
- editeng/SpellPortions.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: embeddedobj/source/commonembedding/embedobj.cxx
blacklist:
excludelist:
embeddedobj/qa/cppunit/general.cxx:
- comphelper/scopeguard.hxx
embeddedobj/source/inc/dummyobject.hxx:

View File

@@ -1,6 +1,6 @@
---
assumeFilename: emfio/source/emfuno/xemfparser.cxx
blacklist:
excludelist:
emfio/source/reader/wmfreader.cxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: extensions/source/propctrlr/formcomponenthandler.cxx
blacklist:
excludelist:
extensions/source/logging/loghandler.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: filter/source/msfilter/msdffimp.cxx
blacklist:
excludelist:
filter/source/graphicfilter/icgm/cgm.cxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: forms/source/component/DatabaseForm.cxx
blacklist:
excludelist:
forms/source/inc/property.hxx:
# Needed for macro defines
- frm_strings.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: framework/source/services/autorecovery.cxx
blacklist:
excludelist:
framework/inc/stdtypes.h:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: helpcompiler/source/HelpCompiler.cxx
blacklist:
excludelist:
helpcompiler/inc/HelpCompiler.hxx:
# Needed on WIN32
- o3tl/char16_t2wchar_t.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: i18npool/source/localedata/localedata.cxx
blacklist:
excludelist:
i18npool/inc/breakiterator_unicode.hxx:
# contains versioned namespace so cannot forward declare
- unicode/brkiter.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: desktop/source/app/app.cxx
blacklist:
excludelist:
include/sal/typesizes.h:
# needed for build to work
- config_typesizes.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: io/source/services.cxx
blacklist:
excludelist:
io/source/acceptor/acceptor.cxx:
# Avoid loplugin:unreffun error
- services.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: javaunohelper/source/vm.cxx
blacklist:
excludelist:
javaunohelper/source/bootstrap.cxx:
# Needed for direct member access
- com/sun/star/uno/XComponentContext.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: jvmaccess/source/classpath.cxx
blacklist:
excludelist:
jvmaccess/source/classpath.cxx:
# Needed to inherit linker visibility from function declaration
- jvmaccess/classpath.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: jvmfwk/source/fwkbase.cxx
blacklist:
excludelist:
jvmfwk/inc/fwkutil.hxx:
# Needed on MACOSX
- config_folders.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: linguistic/source/lngsvcmgr.cxx
blacklist:
excludelist:
linguistic/source/hyphdsp.cxx:
# Needed for direct member access
- com/sun/star/linguistic2/XLinguProperties.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: lotuswordpro/source/filter/lwplayout.cxx
blacklist:
excludelist:
lotuswordpro/inc/lwpatomholder.hxx:
# Needed for MPL subset
- config_lgpl.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: oox/source/export/drawingml.cxx
blacklist:
excludelist:
oox/source/docprop/docprophandler.hxx:
# Needed for macro defines
- oox/token/namespaces.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: opencl/source/opencl_device.cxx
blacklist:
excludelist:
opencl/source/opencl_device.cxx:
# Avoid loplugin:unreffun error
- opencl_device.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: pyuno/source/module/pyuno.cxx
blacklist:
excludelist:
pyuno/inc/pyuno.hxx:
# Used in #ifdef
- Python.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: registry/source/registry.cxx
blacklist:
excludelist:
registry/source/regimpl.hxx:
# Needed for correct linker visibility
- regapi.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: reportdesign/source/ui/report/ReportController.cxx
blacklist:
excludelist:
reportdesign/inc/RptDef.hxx:
# Needed for macro define
- svx/fmglob.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: sc/source/core/data/document.cxx
blacklist:
excludelist:
# base class has to be a complete type
- com/sun/star/accessibility/XAccessibleStateSet.hpp
sc/inc/addruno.hxx:

View File

@@ -1,6 +1,6 @@
---
assumeFilename: scaddins/source/analysis/analysis.cxx
blacklist:
excludelist:
scaddins/source/analysis/analysis.hxx:
# Base class needs complete type
- com/sun/star/lang/XServiceInfo.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: sccomp/source/solver/SolverComponent.cxx
blacklist:
excludelist:
sccomp/source/solver/SolverComponent.hxx:
# Base class needs full type
- com/sun/star/sheet/XSolver.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: scripting/source/stringresource/stringresource.cxx
blacklist:
excludelist:
scripting/source/protocolhandler/scripthandler.cxx:
# Actually used
- com/sun/star/lang/XSingleServiceFactory.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: sd/source/core/drawdoc.cxx
blacklist:
excludelist:
sd/inc/CustomAnimationCloner.hxx:
# base class has to be a complete type
- com/sun/star/animations/XAnimationNode.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: sdext/source/presenter/PresenterSlideSorter.cxx
blacklist:
excludelist:
sdext/source/pdfimport/odf/odfemitter.cxx:
# Actually in use
- com/sun/star/io/XOutputStream.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: sfx2/source/appl/app.cxx
blacklist:
excludelist:
sfx2/inc/sidebar/Accessible.hxx:
# base class has to be a complete type
- com/sun/star/accessibility/XAccessible.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: shell/source/unix/exec/shellexec.cxx
blacklist:
excludelist:
shell/source/sessioninstall/SyncDbusSessionHelper.hxx:
# No hpp->hdl replacement
- org/freedesktop/PackageKit/SyncDbusSessionHelper.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: slideshow/source/engine/slideshowimpl.cxx
blacklist:
excludelist:
slideshow/source/inc/mouseeventhandler.hxx:
# Needed for css shortcut
- sal/types.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: sot/source/base/object.cxx
blacklist:
excludelist:
sot/source/unoolestorage/xolesimplestorage.hxx:
# Base class needs complete type
- com/sun/star/embed/XOLESimpleStorage.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: starmath/source/document.cxx
blacklist:
excludelist:
starmath/inc/smmod.hxx:
# Needed for define
- sfx2/app.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: stoc/source/javavm/javavm.cxx
blacklist:
excludelist:
stoc/source/implementationregistration/mergekeys.hxx:
# Needed for css shortcut
- sal/types.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: store/source/storbase.cxx
blacklist:
excludelist:
store/source/storbase.hxx:
# Needed for OSL_BIGENDIAN macro
- osl/endian.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: svl/source/items/intitem.cxx
blacklist:
excludelist:
svl/source/config/itemholder2.hxx:
# Base class needs complete type
- com/sun/star/lang/XEventListener.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: svtools/source/control/ruler.cxx
blacklist:
excludelist:
svtools/source/control/accessibleruler.hxx:
# base class has to be a complete type
- com/sun/star/accessibility/XAccessible.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: svx/source/svdraw/svdobj.cxx
blacklist:
excludelist:
svx/source/svdraw/svdpdf.hxx:
# Needed on WIN32
- prewin.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: sw/source/core/doc/docnew.cxx
blacklist:
excludelist:
sw/inc/extinput.hxx:
- vector
sw/inc/fmtmeta.hxx:

View File

@@ -1,6 +1,6 @@
---
assumeFilename: test/source/unoapi_test.cxx
blacklist:
excludelist:
test/source/vclbootstrapprotector.cxx:
# Used in Coverity-specific #ifdef
- sal/log.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: toolkit/source/controls/unocontrol.cxx
blacklist:
excludelist:
toolkit/source/awt/vclxmenu.cxx:
# Needed for direct member access
- vcl/window.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: tools/source/generic/gen.cxx
blacklist:
excludelist:
tools/qa/cppunit/test_pathutils.cxx:
# Needed for WIN32 specific unit test
- cppunit/TestAssert.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: ucb/source/core/ucb.cxx
blacklist:
excludelist:
ucb/source/ucp/cmis/std_outputstream.hxx:
- boost/shared_ptr.hpp
ucb/source/ucp/cmis/std_inputstream.hxx:

View File

@@ -1,6 +1,6 @@
---
assumeFilename: ucbhelper/source/provider/resultset.cxx
blacklist:
excludelist:
ucbhelper/source/client/content.cxx:
# Needed for direct member access
- com/sun/star/ucb/XCommandInfo.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: unoidl/source/unoidl.cxx
blacklist:
excludelist:
unoidl/source/unoidl-write.cxx:
# Avoid loplugin:oslendian error
- osl/endian.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: unotools/source/i18n/resmgr.cxx
blacklist:
excludelist:
unotools/source/config/itemholder1.hxx:
# Base class needs complete type
- com/sun/star/lang/XEventListener.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: unoxml/source/dom/document.cxx
blacklist:
excludelist:
unoxml/source/rdf/librdf_repository.cxx:
# Wrapper header needed for platform independence
- redland.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: uui/source/iahndl.cxx
blacklist:
excludelist:
uui/inc/ids.hxx:
# Needed by macro defines
- vcl/errcode.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: vbahelper/source/vbahelper/vbahelper.cxx
blacklist:
excludelist:
vbahelper/source/vbahelper/vbaglobalbase.cxx:
# Actually used
- com/sun/star/beans/PropertyValue.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: vcl/source/app/svapp.cxx
blacklist:
excludelist:
vcl/inc/salusereventlist.hxx:
# Don't propose hxx -> h change in URE libs
- osl/thread.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: writerfilter/source/filter/WriterFilter.cxx
blacklist:
excludelist:
writerfilter/source/dmapper/BorderHandler.cxx:
# Needed for method parameter type
- tools/color.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: writerperfect/source/common/WPXSvInputStream.cxx
blacklist:
excludelist:
writerperfect/inc/DocumentHandler.hxx:
# Wrapper header for external library
- libodfgen/libodfgen.hxx

View File

@@ -1,6 +1,6 @@
---
assumeFilename: xmlhelp/source/cxxhelp/provider/content.cxx
blacklist:
excludelist:
xmlhelp/source/cxxhelp/provider/content.cxx:
# Needed for CPPU_TYPE_REF macro
- com/sun/star/ucb/XCommandInfo.hpp

View File

@@ -1,6 +1,6 @@
---
assumeFilename: xmloff/source/core/xmlexp.cxx
blacklist:
excludelist:
xmloff/inc/XMLImageMapExport.hxx:
# Needed for css shortcut
- sal/types.h

View File

@@ -1,6 +1,6 @@
---
assumeFilename: xmlsecurity/source/xmlsec/xmlsec_init.cxx
blacklist:
excludelist:
xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:
# complete type is needed
- com/sun/star/security/DocumentSignatureInformation.hpp