summaryrefslogtreecommitdiffstats
path: root/bin/find-unneeded-includes
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-05-09 00:50:57 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-05-09 11:08:07 +0200
commit2070adb69823bfd596a241c77d1bb3ff106d00ae (patch)
tree60b077a42f60ddbb2ebdd93460175c392767a4e7 /bin/find-unneeded-includes
parentif ccache is enabled, by default also enable CCACHE_DEPEND (diff)
downloadcore-2070adb69823bfd596a241c77d1bb3ff106d00ae.tar.gz
core-2070adb69823bfd596a241c77d1bb3ff106d00ae.zip
find-unneeded-includes: filter out boost/unordered_map.hpp
As seen in configmgr/source/modifications.hxx and configmgr/source/partial.hxx this replacement is not needed Change-Id: I6a8d7bc37779f305fccb5d3c7df22fba4a4f73d0 Reviewed-on: https://gerrit.libreoffice.org/72013 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'bin/find-unneeded-includes')
-rwxr-xr-xbin/find-unneeded-includes2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 834a4319cf71..18bcd5d6711d 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -86,6 +86,8 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
return True
if include == "boost/variant.hpp" and "boost/variant/variant.hpp" in toAdd:
return True
+ if include == "boost/unordered_map.hpp" and "boost/unordered/unordered_map.hpp" in toAdd:
+ return True
# Avoid .hxx to .h proposals in basic css/uno/* API
unoapi = {