Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChris Thrasher2025-04-26 10:08:05 -0600
committerChris Thrasher2025-04-27 11:08:41 -0600
commit5a6d70eebbf8201c7c76ea26fb1bb06cceeee5c3 (patch)
tree1f5ff60421d7e3c574ad8e63b7385d66690726af
parent10d1a2750cf448e6399f1750133c2d85b6e48b07 (diff)
downloadcatch3-5a6d70eebbf8201c7c76ea26fb1bb06cceeee5c3.tar.gz
Remove unused headers
-rw-r--r--src/catch2/benchmark/detail/catch_estimate_clock.hpp1
-rw-r--r--src/catch2/benchmark/detail/catch_timing.hpp2
-rw-r--r--src/catch2/catch_session.cpp1
-rw-r--r--src/catch2/catch_tostring.cpp1
-rw-r--r--src/catch2/interfaces/catch_interfaces_config.hpp1
-rw-r--r--src/catch2/interfaces/catch_interfaces_reporter.hpp1
-rw-r--r--src/catch2/internal/catch_enforce.hpp2
-rw-r--r--src/catch2/internal/catch_exception_translator_registry.hpp1
-rw-r--r--src/catch2/internal/catch_is_permutation.hpp1
-rw-r--r--src/catch2/internal/catch_istream.cpp2
-rw-r--r--src/catch2/internal/catch_sharding.hpp1
-rw-r--r--src/catch2/internal/catch_stringref.cpp1
-rw-r--r--src/catch2/matchers/catch_matchers_contains.hpp1
-rw-r--r--src/catch2/matchers/catch_matchers_range_equals.hpp3
14 files changed, 0 insertions, 19 deletions
diff --git a/src/catch2/benchmark/detail/catch_estimate_clock.hpp b/src/catch2/benchmark/detail/catch_estimate_clock.hpp
index 6da24ce5..576fdb68 100644
--- a/src/catch2/benchmark/detail/catch_estimate_clock.hpp
+++ b/src/catch2/benchmark/detail/catch_estimate_clock.hpp
@@ -15,7 +15,6 @@
#include <catch2/benchmark/detail/catch_stats.hpp>
#include <catch2/benchmark/detail/catch_measure.hpp>
#include <catch2/benchmark/detail/catch_run_for_at_least.hpp>
-#include <catch2/benchmark/catch_clock.hpp>
#include <catch2/internal/catch_unique_ptr.hpp>
#include <algorithm>
diff --git a/src/catch2/benchmark/detail/catch_timing.hpp b/src/catch2/benchmark/detail/catch_timing.hpp
index da567190..7dfe822b 100644
--- a/src/catch2/benchmark/detail/catch_timing.hpp
+++ b/src/catch2/benchmark/detail/catch_timing.hpp
@@ -13,8 +13,6 @@
#include <catch2/benchmark/catch_clock.hpp>
#include <catch2/benchmark/detail/catch_complete_invoke.hpp>
-#include <type_traits>
-
namespace Catch {
namespace Benchmark {
template <typename Result>
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp
index a4a410c9..0fb45ba7 100644
--- a/src/catch2/catch_session.cpp
+++ b/src/catch2/catch_session.cpp
@@ -25,7 +25,6 @@
#include <catch2/internal/catch_stdstreams.hpp>
#include <catch2/internal/catch_istream.hpp>
-#include <algorithm>
#include <cassert>
#include <exception>
#include <iomanip>
diff --git a/src/catch2/catch_tostring.cpp b/src/catch2/catch_tostring.cpp
index 83327cfb..f96c3fc1 100644
--- a/src/catch2/catch_tostring.cpp
+++ b/src/catch2/catch_tostring.cpp
@@ -11,7 +11,6 @@
#include <catch2/internal/catch_context.hpp>
#include <catch2/internal/catch_polyfills.hpp>
-#include <cmath>
#include <iomanip>
namespace Catch {
diff --git a/src/catch2/interfaces/catch_interfaces_config.hpp b/src/catch2/interfaces/catch_interfaces_config.hpp
index eb054805..82a298db 100644
--- a/src/catch2/interfaces/catch_interfaces_config.hpp
+++ b/src/catch2/interfaces/catch_interfaces_config.hpp
@@ -12,7 +12,6 @@
#include <catch2/internal/catch_stringref.hpp>
#include <chrono>
-#include <iosfwd>
#include <string>
#include <vector>
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.hpp b/src/catch2/interfaces/catch_interfaces_reporter.hpp
index a052c5db..e8f5d519 100644
--- a/src/catch2/interfaces/catch_interfaces_reporter.hpp
+++ b/src/catch2/interfaces/catch_interfaces_reporter.hpp
@@ -20,7 +20,6 @@
#include <map>
#include <string>
#include <vector>
-#include <iosfwd>
namespace Catch {
diff --git a/src/catch2/internal/catch_enforce.hpp b/src/catch2/internal/catch_enforce.hpp
index 076cea3c..ddb6d845 100644
--- a/src/catch2/internal/catch_enforce.hpp
+++ b/src/catch2/internal/catch_enforce.hpp
@@ -12,8 +12,6 @@
#include <catch2/internal/catch_compiler_capabilities.hpp>
#include <catch2/internal/catch_reusable_string_stream.hpp>
-#include <exception>
-
namespace Catch {
#if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
template <typename Ex>
diff --git a/src/catch2/internal/catch_exception_translator_registry.hpp b/src/catch2/internal/catch_exception_translator_registry.hpp
index 3123e93d..32917d41 100644
--- a/src/catch2/internal/catch_exception_translator_registry.hpp
+++ b/src/catch2/internal/catch_exception_translator_registry.hpp
@@ -11,7 +11,6 @@
#include <catch2/interfaces/catch_interfaces_exception.hpp>
#include <catch2/internal/catch_unique_ptr.hpp>
-#include <vector>
#include <string>
namespace Catch {
diff --git a/src/catch2/internal/catch_is_permutation.hpp b/src/catch2/internal/catch_is_permutation.hpp
index c77a6d3b..2bde03b8 100644
--- a/src/catch2/internal/catch_is_permutation.hpp
+++ b/src/catch2/internal/catch_is_permutation.hpp
@@ -8,7 +8,6 @@
#ifndef CATCH_IS_PERMUTATION_HPP_INCLUDED
#define CATCH_IS_PERMUTATION_HPP_INCLUDED
-#include <algorithm>
#include <iterator>
namespace Catch {
diff --git a/src/catch2/internal/catch_istream.cpp b/src/catch2/internal/catch_istream.cpp
index 2867ce74..717da0e7 100644
--- a/src/catch2/internal/catch_istream.cpp
+++ b/src/catch2/internal/catch_istream.cpp
@@ -14,8 +14,6 @@
#include <cstdio>
#include <fstream>
-#include <sstream>
-#include <vector>
namespace Catch {
diff --git a/src/catch2/internal/catch_sharding.hpp b/src/catch2/internal/catch_sharding.hpp
index 22561f4b..4d7ee269 100644
--- a/src/catch2/internal/catch_sharding.hpp
+++ b/src/catch2/internal/catch_sharding.hpp
@@ -9,7 +9,6 @@
#define CATCH_SHARDING_HPP_INCLUDED
#include <cassert>
-#include <cmath>
#include <algorithm>
namespace Catch {
diff --git a/src/catch2/internal/catch_stringref.cpp b/src/catch2/internal/catch_stringref.cpp
index 232498eb..5b593545 100644
--- a/src/catch2/internal/catch_stringref.cpp
+++ b/src/catch2/internal/catch_stringref.cpp
@@ -10,7 +10,6 @@
#include <algorithm>
#include <ostream>
#include <cstring>
-#include <cstdint>
namespace Catch {
StringRef::StringRef( char const* rawChars ) noexcept
diff --git a/src/catch2/matchers/catch_matchers_contains.hpp b/src/catch2/matchers/catch_matchers_contains.hpp
index 877d6924..951b42be 100644
--- a/src/catch2/matchers/catch_matchers_contains.hpp
+++ b/src/catch2/matchers/catch_matchers_contains.hpp
@@ -11,7 +11,6 @@
#include <catch2/matchers/catch_matchers_templated.hpp>
#include <catch2/internal/catch_move_and_forward.hpp>
-#include <algorithm>
#include <functional>
namespace Catch {
diff --git a/src/catch2/matchers/catch_matchers_range_equals.hpp b/src/catch2/matchers/catch_matchers_range_equals.hpp
index 8130f604..4c3c1d0b 100644
--- a/src/catch2/matchers/catch_matchers_range_equals.hpp
+++ b/src/catch2/matchers/catch_matchers_range_equals.hpp
@@ -11,9 +11,6 @@
#include <catch2/internal/catch_is_permutation.hpp>
#include <catch2/matchers/catch_matchers_templated.hpp>
-#include <algorithm>
-#include <utility>
-
namespace Catch {
namespace Matchers {