[Libreoffice-commits] core.git: bin/find-unneeded-includes

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Fri Mar 22 10:12:31 UTC 2019


 bin/find-unneeded-includes |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c094442f997054bbfdacc0d9f213dc218453d29c
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Mon Mar 18 19:43:06 2019 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Mar 22 11:12:07 2019 +0100

    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 at collabora.com>

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:


More information about the Libreoffice-commits mailing list