bin/find-unneeded-includes | 1 + include/IwyuFilter_include.yaml | 3 --- pyuno/IwyuFilter_pyuno.yaml | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-)
New commits: commit 99324a10c8a89388128423a1cb6dd0fa7fb87bc9 Author: Gabor Kelemen <[email protected]> AuthorDate: Fri Sep 19 21:45:51 2025 +0200 Commit: Gabor Kelemen <[email protected]> CommitDate: Fri Sep 26 17:53:37 2025 +0200 bin/find-unneeded-includes: add exception for URE header osl/file.hxx, so that these can be removed from per-module yaml files Change-Id: Iad0a6ab19ea34701e06ce356eaab4139205c8ad3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191341 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <[email protected]> diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes index 6e66fe615056..674d0b45750d 100755 --- a/bin/find-unneeded-includes +++ b/bin/find-unneeded-includes @@ -104,6 +104,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules, noexclude): "rtl/byteseq.hxx": "rtl/byteseq.h", "typelib/typedescription.hxx": "typelib/typedescription.h", "cppuhelper/interfacecontainer.hxx": "cppuhelper/interfacecontainer.h", + "osl/file.hxx": "osl/file.h", "osl/module.hxx": "osl/module.h", "osl/thread.hxx": "osl/thread.h" } diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index 05d7ecc3b71f..a0a053d78e78 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -874,9 +874,6 @@ excludelist: include/svx/svdtext.hxx: # TODO too many replacements would be needed - tools/weakbase.hxx - include/codemaker/global.hxx: - # Don't propose hxx -> h change in URE libs - - osl/file.hxx include/comphelper/crashzone.hxx: # Needed for sig_atomic_t - csignal diff --git a/pyuno/IwyuFilter_pyuno.yaml b/pyuno/IwyuFilter_pyuno.yaml index ae6ab49ded9d..80c282dcf460 100644 --- a/pyuno/IwyuFilter_pyuno.yaml +++ b/pyuno/IwyuFilter_pyuno.yaml @@ -14,8 +14,6 @@ excludelist: - com/sun/star/container/XIndexAccess.hpp - cppuhelper/weakref.hxx pyuno/source/loader/pyuno_loader.cxx: - # Don't replace with URE impl. detail - - osl/file.hxx # Needed for direct member access - com/sun/star/uno/XComponentContext.hpp # Needed on WIN32
