include/IwyuFilter_include.yaml | 25 ++++++++++++++++--------- include/o3tl/lru_map.hxx | 2 -- include/o3tl/unit_conversion.hxx | 1 - 3 files changed, 16 insertions(+), 12 deletions(-)
New commits: commit 2b153ad42904e433d41b630fc80daf4a57112681 Author: Gabor Kelemen <kelem...@ubuntu.com> AuthorDate: Fri Sep 15 18:25:24 2023 +0200 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Tue Sep 26 16:28:17 2023 +0200 tdf#146619 Recheck include/o3tl with IWYU Change-Id: I25833a776b4b7f2055805159583f363b860bc4cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156987 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de> diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index c0b87cd559c8..e0a5b159fd79 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -218,25 +218,35 @@ excludelist: - com/sun/star/lang/XServiceInfo.hpp - com/sun/star/rendering/XBezierPolyPolygon2D.hpp - com/sun/star/rendering/XLinePolyPolygon2D.hpp + include/o3tl/char16_t2wchar_t.hxx: + # Needed on WIN32 + - string_view include/o3tl/deleter.hxx: # Needed for __COVERITY__ - com/sun/star/uno/Exception.hpp - sal/log.hxx - include/o3tl/lru_map.hxx: - # Needed for std::min - - algorithm + include/o3tl/intcmp.hxx: + # Needed for C++20 mode + - type_traits + - utility include/o3tl/make_shared.hxx: # Needed for __COVERITY__ - o3tl/deleter.hxx include/o3tl/safeint.hxx: # Needed for std::min - algorithm + include/o3tl/unreachable.hxx: + # Needed for C++23 mode + - utility + include/o3tl/vector_pool.hxx: + # Needed for std::move + - utility + include/o3tl/vector_utils.hxx: + # Needed for std::copy_if + - algorithm include/sot/exchange.hxx: # Used in a macro #define - com/sun/star/datatransfer/dnd/DNDConstants.hpp - include/tools/color.hxx: - # OSL_BIGENDIAN is being checked - - osl/endian.h include/tools/debug.hxx: # Used behind #ifndef - tools/toolsdllapi.h @@ -882,9 +892,6 @@ excludelist: include/svx/svdtext.hxx: # TODO too many replacements would be needed - tools/weakbase.hxx - include/oox/helper/helper.hxx: - # OSL_BIGENDIAN is being checked - - osl/endian.h include/codemaker/global.hxx: # Don't propose hxx -> h change in URE libs - osl/file.hxx diff --git a/include/o3tl/lru_map.hxx b/include/o3tl/lru_map.hxx index 859617e5d988..7e046fd1dbda 100644 --- a/include/o3tl/lru_map.hxx +++ b/include/o3tl/lru_map.hxx @@ -11,12 +11,10 @@ #ifndef INCLUDED_O3TL_LRU_MAP_HXX #define INCLUDED_O3TL_LRU_MAP_HXX -#include <algorithm> #include <cassert> #include <list> #include <unordered_map> #include <cstddef> -#include <type_traits> namespace o3tl { diff --git a/include/o3tl/unit_conversion.hxx b/include/o3tl/unit_conversion.hxx index 7f0053627f50..54eb8cd246eb 100644 --- a/include/o3tl/unit_conversion.hxx +++ b/include/o3tl/unit_conversion.hxx @@ -10,7 +10,6 @@ #pragma once #include <o3tl/safeint.hxx> -#include <sal/macros.h> #include <sal/types.h> #include <array>