summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen@collabora.com>2025-09-19 21:49:33 +0200
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2025-09-26 19:17:54 +0200
commit6a5a55c9ce0699ea135c2b98eb6410a92e3182b7 (patch)
tree7f9fadda628f3cec2051b9880f6ad9d4ed7b29a2
parent99324a10c8a89388128423a1cb6dd0fa7fb87bc9 (diff)
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 <gabor.kelemen.extern@allotropia.de>
-rwxr-xr-xbin/find-unneeded-includes2
-rw-r--r--io/IwyuFilter_io.yaml1
-rw-r--r--vcl/IwyuFilter_vcl.yaml3
3 files changed, 2 insertions, 4 deletions
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