bin/find-unneeded-includes |    2 ++
 ucb/IwyuFilter_ucb.yaml    |    4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit ad56717ed85d271616e102540a2e20e3cf7a887c
Author:     Gabor Kelemen <kelem...@ubuntu.com>
AuthorDate: Mon Dec 13 14:22:01 2021 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Dec 14 08:39:30 2021 +0100

    find-unneeded-includes: add exception for boost/shared_ptr.hpp
    
    * as seen in vcl/inc/skia/salbmp.hxx
    * also remove earlier exception from ucb modules file
    
    Change-Id: Ie0ad46048147916b615f74d8eab6e033c2020565
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126739
    Tested-by: Jenkins
    Tested-by: Gabor Kelemen <kelem...@ubuntu.com>
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 0e8cec276968..93257451cce9 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/intrusive_ptr.hpp" and 
"boost/smart_ptr/intrusive_ptr.hpp" in toAdd:
         return True
+    if include == "boost/shared_ptr.hpp" and "boost/smart_ptr/shared_ptr.hpp" 
in toAdd:
+        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:
diff --git a/ucb/IwyuFilter_ucb.yaml b/ucb/IwyuFilter_ucb.yaml
index 2c0ef5bb6552..cd9ff1c84725 100644
--- a/ucb/IwyuFilter_ucb.yaml
+++ b/ucb/IwyuFilter_ucb.yaml
@@ -1,10 +1,6 @@
 ---
 assumeFilename: ucb/source/core/ucb.cxx
 excludelist:
-    ucb/source/ucp/cmis/std_outputstream.hxx:
-    - boost/shared_ptr.hpp
-    ucb/source/ucp/cmis/std_inputstream.hxx:
-    - boost/shared_ptr.hpp
     ucb/source/ucp/ftp/ftploaderthread.hxx:
     # Wrapper for external lib
     - curl.hxx

Reply via email to