summaryrefslogtreecommitdiffstats
path: root/bin/find-unneeded-includes
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-01-22 18:14:35 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-24 11:28:52 +0100
commit38aa12075432cc6b4e6de60de84c04c1f480768d (patch)
tree9475e961325b372412b5773fabc1f0446264ce7a /bin/find-unneeded-includes
parentDrop unnecessary gb_DEBUG_CFLAGS (diff)
downloadcore-38aa12075432cc6b4e6de60de84c04c1f480768d.tar.gz
core-38aa12075432cc6b4e6de60de84c04c1f480768d.zip
find-unneeeded-includes: don't propose to replace o3tl/deleter.hxx
As seen while analysing sw/source/core/inc/DocumentChartDataProviderManager.hxx replacing o3tl/deleter.hxx with fw declaration does not work, it compiles only when it is transitively included. This also removes mistakenly added fw declarations and now unnecessary IwyuFilter blacklist items Change-Id: I2d631f0693dbfd0bb0e62218a525113042c9a907 Reviewed-on: https://gerrit.libreoffice.org/66750 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'bin/find-unneeded-includes')
-rwxr-xr-xbin/find-unneeded-includes1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 948e12ccd8c7..e955ae7d33e4 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -68,6 +68,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
# Avoid proposing o3tl fw declaration
o3tl = {
"o3tl/typed_flags_set.hxx" : "namespace o3tl { template <typename T> struct typed_flags; }",
+ "o3tl/deleter.hxx" : "namespace o3tl { template <typename T> struct default_delete; }",
}
for k, v, in o3tl.items():
if include == k and v in toAdd: