diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/IwyuFilter_tools.yaml | 14 | ||||
-rw-r--r-- | tools/qa/cppunit/test_100mm2twips.cxx | 1 | ||||
-rw-r--r-- | tools/qa/cppunit/test_cpu_runtime_detection_AVX2.cxx | 3 | ||||
-rw-r--r-- | tools/qa/cppunit/test_cpu_runtime_detection_SSE2.cxx | 4 | ||||
-rw-r--r-- | tools/qa/cppunit/test_cpu_runtime_detection_SSE2_check.cxx | 1 | ||||
-rw-r--r-- | tools/qa/cppunit/test_cpu_runtime_detection_SSSE3.cxx | 4 | ||||
-rw-r--r-- | tools/qa/cppunit/test_cpu_runtime_detection_SSSE3_check.cxx | 1 | ||||
-rw-r--r-- | tools/qa/cppunit/test_cpuid.cxx | 1 | ||||
-rw-r--r-- | tools/qa/cppunit/test_json_writer.cxx | 3 | ||||
-rw-r--r-- | tools/qa/cppunit/test_xmlwriter.cxx | 1 | ||||
-rw-r--r-- | tools/source/debug/debug.cxx | 3 | ||||
-rw-r--r-- | tools/source/generic/fract.cxx | 1 | ||||
-rw-r--r-- | tools/source/generic/gen.cxx | 6 | ||||
-rw-r--r-- | tools/source/generic/point.cxx | 1 | ||||
-rw-r--r-- | tools/source/generic/poly.cxx | 2 | ||||
-rw-r--r-- | tools/source/inet/inetstrm.cxx | 1 | ||||
-rw-r--r-- | tools/source/misc/json_writer.cxx | 1 |
17 files changed, 13 insertions, 35 deletions
diff --git a/tools/IwyuFilter_tools.yaml b/tools/IwyuFilter_tools.yaml index cfd771ba1ee9..ecc4dd5f86f9 100644 --- a/tools/IwyuFilter_tools.yaml +++ b/tools/IwyuFilter_tools.yaml @@ -7,12 +7,20 @@ excludelist: - cppunit/plugin/TestPlugIn.h - tools/pathutils.hxx - cwchar + tools/qa/cppunit/test_cpu_runtime_detection_AVX2_check.cxx: + # Needed for LO_AVX2_AVAILABLE case + - sal/types.h + - tools/simdsupport.hxx + - stdlib.h + tools/qa/cppunit/test_cpu_runtime_detection_SSSE3_check.cxx: + # Needed for LO_SSSE3_AVAILABLE case + - tools/simdsupport.hxx + - stdlib.h tools/source/debug/debug.cxx: # Needed for linker visibility - tools/diagnose_ex.h - tools/source/generic/poly.cxx: - # OSL_BIGENDIAN is being checked - - osl/endian.h + # Keep for commented out "if defined __GLIBCXX__" path + - cxxabi.h tools/source/misc/extendapplicationenvironment.cxx: # Needed on MACOSX - config_folders.h diff --git a/tools/qa/cppunit/test_100mm2twips.cxx b/tools/qa/cppunit/test_100mm2twips.cxx index fc1d228f2d49..1fb69d98209b 100644 --- a/tools/qa/cppunit/test_100mm2twips.cxx +++ b/tools/qa/cppunit/test_100mm2twips.cxx @@ -22,7 +22,6 @@ #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> -#include <tools/helpers.hxx> #include <tools/UnitConversion.hxx> class UnitConversionTest : public CppUnit::TestFixture diff --git a/tools/qa/cppunit/test_cpu_runtime_detection_AVX2.cxx b/tools/qa/cppunit/test_cpu_runtime_detection_AVX2.cxx index 5a3a1ee26638..5ba8ed9ee2fb 100644 --- a/tools/qa/cppunit/test_cpu_runtime_detection_AVX2.cxx +++ b/tools/qa/cppunit/test_cpu_runtime_detection_AVX2.cxx @@ -7,13 +7,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <tools/simdsupport.hxx> #include "test_cpu_runtime_detection_x86_checks.hxx" -#include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> -#include <cppunit/plugin/TestPlugIn.h> #include <tools/cpuid.hxx> diff --git a/tools/qa/cppunit/test_cpu_runtime_detection_SSE2.cxx b/tools/qa/cppunit/test_cpu_runtime_detection_SSE2.cxx index 6da1850a135a..93bac6f2a130 100644 --- a/tools/qa/cppunit/test_cpu_runtime_detection_SSE2.cxx +++ b/tools/qa/cppunit/test_cpu_runtime_detection_SSE2.cxx @@ -7,14 +7,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <tools/simdsupport.hxx> - #include "test_cpu_runtime_detection_x86_checks.hxx" -#include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> -#include <cppunit/plugin/TestPlugIn.h> #include <tools/cpuid.hxx> diff --git a/tools/qa/cppunit/test_cpu_runtime_detection_SSE2_check.cxx b/tools/qa/cppunit/test_cpu_runtime_detection_SSE2_check.cxx index 7f14e1b51789..12e39eabfd64 100644 --- a/tools/qa/cppunit/test_cpu_runtime_detection_SSE2_check.cxx +++ b/tools/qa/cppunit/test_cpu_runtime_detection_SSE2_check.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <sal/types.h> #include <tools/simdsupport.hxx> #include <stdlib.h> diff --git a/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3.cxx b/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3.cxx index 290d073745da..3c0e9d252466 100644 --- a/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3.cxx +++ b/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3.cxx @@ -7,14 +7,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <tools/simdsupport.hxx> - #include "test_cpu_runtime_detection_x86_checks.hxx" -#include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> -#include <cppunit/plugin/TestPlugIn.h> #include <tools/cpuid.hxx> diff --git a/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3_check.cxx b/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3_check.cxx index 9a93dadea79c..705e5c2ab3c9 100644 --- a/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3_check.cxx +++ b/tools/qa/cppunit/test_cpu_runtime_detection_SSSE3_check.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <sal/types.h> #include <tools/simdsupport.hxx> #include <stdlib.h> diff --git a/tools/qa/cppunit/test_cpuid.cxx b/tools/qa/cppunit/test_cpuid.cxx index cb9c1b9a7fb6..7d9b5c41cce3 100644 --- a/tools/qa/cppunit/test_cpuid.cxx +++ b/tools/qa/cppunit/test_cpuid.cxx @@ -10,7 +10,6 @@ #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> -#include <cppunit/plugin/TestPlugIn.h> #include <tools/cpuid.hxx> #include <rtl/ustring.hxx> diff --git a/tools/qa/cppunit/test_json_writer.cxx b/tools/qa/cppunit/test_json_writer.cxx index fe3019e91b0a..2257fe6d834d 100644 --- a/tools/qa/cppunit/test_json_writer.cxx +++ b/tools/qa/cppunit/test_json_writer.cxx @@ -9,13 +9,10 @@ #include <sal/config.h> -#include <cstdlib> - #include <cppunit/extensions/HelperMacros.h> #include <o3tl/deleter.hxx> #include <test/bootstrapfixture.hxx> #include <rtl/ustring.hxx> -#include <tools/stream.hxx> #include <tools/json_writer.hxx> namespace diff --git a/tools/qa/cppunit/test_xmlwriter.cxx b/tools/qa/cppunit/test_xmlwriter.cxx index 1cd207a4afe5..0fddb3d77de4 100644 --- a/tools/qa/cppunit/test_xmlwriter.cxx +++ b/tools/qa/cppunit/test_xmlwriter.cxx @@ -9,7 +9,6 @@ #include <cppunit/extensions/HelperMacros.h> #include <test/bootstrapfixture.hxx> -#include <rtl/ustring.hxx> #include <tools/stream.hxx> #include <tools/XmlWriter.hxx> diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 167bd95639ec..3bb080959e67 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -52,9 +52,6 @@ #include <osl/thread.h> #include <rtl/strbuf.hxx> -#include <cstdlib> -#include <typeinfo> - #include <tools/diagnose_ex.h> #if defined __GLIBCXX__ diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index 078ffd87f387..49c26c0f1be4 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -19,7 +19,6 @@ #include <tools/fract.hxx> #include <tools/debug.hxx> -#include <tools/stream.hxx> #include <o3tl/safeint.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx index 1fe47071d4ce..b3331b7b4e4d 100644 --- a/tools/source/generic/gen.cxx +++ b/tools/source/generic/gen.cxx @@ -18,14 +18,12 @@ */ #include <sal/config.h> -#include <sal/log.hxx> +#include <rtl/string.hxx> #include <algorithm> -#include <cassert> -#include <sstream> +#include <tuple> #include <o3tl/safeint.hxx> #include <tools/gen.hxx> -#include <tools/stream.hxx> OString Pair::toString() const { diff --git a/tools/source/generic/point.cxx b/tools/source/generic/point.cxx index e9c3bd842a15..1aba284ff27f 100644 --- a/tools/source/generic/point.cxx +++ b/tools/source/generic/point.cxx @@ -18,7 +18,6 @@ */ #include <tools/gen.hxx> -#include <basegfx/numeric/ftools.hxx> void Point::RotateAround( Point& rPoint, Degree10 nOrientation ) const diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index 687cb6a5d4fb..b0ec428d49f7 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -38,9 +38,7 @@ #include <memory> #include <vector> -#include <iterator> #include <algorithm> -#include <cstdlib> #include <cstring> #include <limits.h> #include <cmath> diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx index 62889bae4733..c68b232d967c 100644 --- a/tools/source/inet/inetstrm.cxx +++ b/tools/source/inet/inetstrm.cxx @@ -22,7 +22,6 @@ #include <cassert> #include <sal/types.h> -#include <rtl/strbuf.hxx> #include <tools/inetmsg.hxx> #include <tools/inetstrm.hxx> diff --git a/tools/source/misc/json_writer.cxx b/tools/source/misc/json_writer.cxx index 7730a9a603d5..fbb29bb2472c 100644 --- a/tools/source/misc/json_writer.cxx +++ b/tools/source/misc/json_writer.cxx @@ -9,7 +9,6 @@ #include <tools/json_writer.hxx> #include <stdio.h> -#include <algorithm> #include <cstring> #include <rtl/math.hxx> |