summaryrefslogtreecommitdiffstats
path: root/bin/find-unneeded-includes
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-03-18 19:43:06 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-03-22 11:12:07 +0100
commitc094442f997054bbfdacc0d9f213dc218453d29c (patch)
treee33e8d1c67c60ab07af7abedb0f518348fc565fb /bin/find-unneeded-includes
parentUnit test for cut copy move with a group reference adjusting along, tdf#121002 (diff)
downloadcore-c094442f997054bbfdacc0d9f213dc218453d29c.tar.gz
core-c094442f997054bbfdacc0d9f213dc218453d29c.zip
find-unneeded-includes: don't try to fw. declare o3tl/span.hxx
As seen in include/sfx2/dispatch.hxx IWYU proposes to replace o3tl/span.hxx with fw declaration, but that won't compile Change-Id: If5739075bd91511cf22a39f3382c424c21829053 Reviewed-on: https://gerrit.libreoffice.org/69397 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 aed66a0dabe6..12b5893baac8 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -70,6 +70,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
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; }",
+ "o3tl/span.hxx" : "namespace o3tl { template <typename T> class span; }",
}
for k, v, in o3tl.items():
if include == k and v in toAdd: