diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2023-09-15 18:25:24 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2023-09-26 16:28:17 +0200 |
commit | 2b153ad42904e433d41b630fc80daf4a57112681 (patch) | |
tree | 0f6cd8daedb2464e1ee6ec27a377b0fa69b2413b /include | |
parent | e0021031f6cb0c52892142d5753b222d571acf49 (diff) |
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.behrens@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/IwyuFilter_include.yaml | 25 | ||||
-rw-r--r-- | include/o3tl/lru_map.hxx | 2 | ||||
-rw-r--r-- | include/o3tl/unit_conversion.hxx | 1 |
3 files changed, 16 insertions, 12 deletions
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> |