bin/find-unneeded-includes | 1 + binaryurp/IwyuFilter_binaryurp.yaml | 15 --------------- cppu/IwyuFilter_cppu.yaml | 2 -- jvmfwk/IwyuFilter_jvmfwk.yaml | 5 ----- 4 files changed, 1 insertion(+), 22 deletions(-)
New commits: commit 668a50b56d18756af2c8a6e727abc614d83a24b6 Author: Gabor Kelemen <gabor.kele...@collabora.com> AuthorDate: Tue Sep 16 21:50:47 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Wed Sep 24 20:29:50 2025 +0200 bin/find-unneeded-includes: add exception for URE header rtl/byteseq.hxx, so that these can be removed from per-module yaml files Change-Id: Ic6f0593da0ecae9de2a7387128b1bf6db6a755bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191336 Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> Tested-by: Jenkins diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes index fc45b68f7cac..1d6efb0963fe 100755 --- a/bin/find-unneeded-includes +++ b/bin/find-unneeded-includes @@ -100,6 +100,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules, noexclude): "com/sun/star/uno/Reference.hxx": "com/sun/star/uno/Reference.h", "com/sun/star/uno/Sequence.hxx": "com/sun/star/uno/Sequence.h", "com/sun/star/uno/Type.hxx": "com/sun/star/uno/Type.h", + "rtl/byteseq.hxx": "rtl/byteseq.h", "osl/thread.hxx": "osl/thread.h" } for k, v in unoapi.items(): diff --git a/binaryurp/IwyuFilter_binaryurp.yaml b/binaryurp/IwyuFilter_binaryurp.yaml index 0889976d65a5..b8f08cb71f99 100644 --- a/binaryurp/IwyuFilter_binaryurp.yaml +++ b/binaryurp/IwyuFilter_binaryurp.yaml @@ -1,21 +1,6 @@ --- assumeFilename: binaryurp/source/bridge.cxx excludelist: - binaryurp/source/marshal.hxx: - # Don't propose hxx -> h change in URE libs - - rtl/byteseq.hxx - binaryurp/source/reader.hxx: - # Don't propose hxx -> h change in URE libs - - rtl/byteseq.hxx - binaryurp/source/incomingrequest.hxx: - # Don't propose hxx -> h change in URE libs - - rtl/byteseq.hxx - binaryurp/source/writerstate.hxx: - # Don't propose hxx -> h change in URE libs - - rtl/byteseq.hxx - binaryurp/source/lessoperators.cxx: - # Don't propose hxx -> h change in URE libs - - rtl/byteseq.hxx binaryurp/source/bridgefactory.cxx: # Actually needed - com/sun/star/connection/XConnection.hpp diff --git a/cppu/IwyuFilter_cppu.yaml b/cppu/IwyuFilter_cppu.yaml index 3eb4a1ab900a..bac72cfa4245 100644 --- a/cppu/IwyuFilter_cppu.yaml +++ b/cppu/IwyuFilter_cppu.yaml @@ -25,7 +25,5 @@ excludelist: # FIXME removing this makes linking fail in binaryurp - uno/current_context.h cppu/source/threadpool/threadident.cxx: - # Don't replace hxx -> h in URE API - - rtl/byteseq.hxx # FIXME removing this makes linking fail in binaryurp - uno/threadpool.h diff --git a/jvmfwk/IwyuFilter_jvmfwk.yaml b/jvmfwk/IwyuFilter_jvmfwk.yaml index 8a2e1cad85be..7cdc92a50cee 100644 --- a/jvmfwk/IwyuFilter_jvmfwk.yaml +++ b/jvmfwk/IwyuFilter_jvmfwk.yaml @@ -4,14 +4,9 @@ excludelist: jvmfwk/inc/fwkutil.hxx: # Needed on MACOSX - config_folders.h - # Don't replace with URE impl. detail - - rtl/byteseq.hxx jvmfwk/source/fwkutil.cxx: # Needed on WIN32 - sal/log.hxx - jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx: - # Don't replace with URE impl. detail - - rtl/byteseq.hxx jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx: # Needed on WIN32 - o3tl/char16_t2wchar_t.hxx