bin/find-unneeded-includes |    2 ++
 io/IwyuFilter_io.yaml      |    1 -
 vcl/IwyuFilter_vcl.yaml    |    3 ---
 3 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 6a5a55c9ce0699ea135c2b98eb6410a92e3182b7
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Fri Sep 19 21:49:33 2025 +0200
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Fri Sep 26 19:17:54 2025 +0200

    bin/find-unneeded-includes: add exception for URE header
    
    osl/socket.hxx, so that these can be removed from per-module yaml files
    
    Change-Id: I825f5e6f028a3d437998865188f2d6b24a9a06fa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191342
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 674d0b45750d..717048bfb16d 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -106,6 +106,8 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules, 
noexclude):
         "cppuhelper/interfacecontainer.hxx": "cppuhelper/interfacecontainer.h",
         "osl/file.hxx": "osl/file.h",
         "osl/module.hxx": "osl/module.h",
+        "osl/socket.hxx": "osl/socket.h",
+        "osl/socket.hxx": "osl/socket_decl.hxx",
         "osl/thread.hxx": "osl/thread.h"
     }
     for k, v in unoapi.items():
diff --git a/io/IwyuFilter_io.yaml b/io/IwyuFilter_io.yaml
index 0f99498fc73e..673a1b3088e2 100644
--- a/io/IwyuFilter_io.yaml
+++ b/io/IwyuFilter_io.yaml
@@ -6,5 +6,4 @@ excludelist:
     - com/sun/star/connection/XConnection.hpp
     - com/sun/star/connection/XConnectionBroadcaster.hpp
     # Don't replace with impl. detail
-    - osl/socket.hxx
     - osl/pipe.hxx
diff --git a/vcl/IwyuFilter_vcl.yaml b/vcl/IwyuFilter_vcl.yaml
index 918a18505ef9..ab5c1949ad87 100644
--- a/vcl/IwyuFilter_vcl.yaml
+++ b/vcl/IwyuFilter_vcl.yaml
@@ -1,9 +1,6 @@
 ---
 assumeFilename: vcl/source/app/svapp.cxx
 excludelist:
-    vcl/inc/unx/gendata.hxx:
-    # Don't propose hxx -> h change in URE libs
-    - osl/socket.hxx
     vcl/inc/unx/saldisp.hxx:
     # Don't replace with generated header
     - epoxy/glx.h

Reply via email to