From acdf830f1591a2c942a15cca048be29bd562157f Mon Sep 17 00:00:00 2001 From: "seqan-actions[bot]" Date: Tue, 24 Oct 2023 11:47:58 +0200 Subject: [PATCH] [MISC] IWYU --- include/hibf/misc/divide_and_ceil.hpp | 7 +++---- src/build/construct_ibf.cpp | 3 ++- src/layout/graph.cpp | 13 +++++++------ test/performance/example/example_benchmark.cpp | 9 +++++---- ...rarchical_interleaved_bloom_filter_benchmark.cpp | 3 ++- .../performance/ibf/binning_bitvector_benchmark.cpp | 4 ++-- .../ibf/interleaved_bloom_filter_benchmark.cpp | 3 ++- test/unit/hibf/build/bin_size_in_bits_test.cpp | 8 +++----- 8 files changed, 26 insertions(+), 24 deletions(-) diff --git a/include/hibf/misc/divide_and_ceil.hpp b/include/hibf/misc/divide_and_ceil.hpp index 923ed81d..6994acee 100644 --- a/include/hibf/misc/divide_and_ceil.hpp +++ b/include/hibf/misc/divide_and_ceil.hpp @@ -4,10 +4,9 @@ #pragma once -#include -#include -#include // for size_t -#include +#include // for assert +#include // for unsigned_integral +#include // for size_t #include diff --git a/src/build/construct_ibf.cpp b/src/build/construct_ibf.cpp index 2b41e2f7..cd214777 100644 --- a/src/build/construct_ibf.cpp +++ b/src/build/construct_ibf.cpp @@ -2,6 +2,7 @@ // SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause +#include // for assert #include // for uint64_t #include // for ceil #include // for size_t @@ -14,7 +15,7 @@ #include // for update_parent_kmers #include // for config #include // for unordered_flat_set -#include // for interleaved_bloom_filter, bin_count, bin_size, hash_fun... +#include // for interleaved_bloom_filter, bin_count, bin_size, hash_function_c... #include // for graph #include // for divide_and_ceil #include // for concurrent, timer diff --git a/src/layout/graph.cpp b/src/layout/graph.cpp index 7dfd2d6d..b2d9d382 100644 --- a/src/layout/graph.cpp +++ b/src/layout/graph.cpp @@ -2,12 +2,13 @@ // SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include // for max, copy -#include // for assert -#include // for size_t -#include // for nullopt, optional -#include // for __prev_fn, prev -#include // for vector +#include // for max, copy +#include // for assert +#include // for size_t +#include // for initializer_list +#include // for optional, nullopt +#include // for __prev_fn, prev +#include // for vector #include // for graph #include // for layout diff --git a/test/performance/example/example_benchmark.cpp b/test/performance/example/example_benchmark.cpp index 23d17418..d8452956 100644 --- a/test/performance/example/example_benchmark.cpp +++ b/test/performance/example/example_benchmark.cpp @@ -2,11 +2,12 @@ // SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include +#include // for State, Benchmark, Counter, BENCHMARK, BENCHMARK_MAIN -#include -#include -#include +#include // for copy, fill_n, copy_n +#include // for memset, size_t +#include // for basic_string +#include // for allocator, vector inline benchmark::Counter bytes_per_second(size_t bytes) { diff --git a/test/performance/hibf/hierarchical_interleaved_bloom_filter_benchmark.cpp b/test/performance/hibf/hierarchical_interleaved_bloom_filter_benchmark.cpp index 2cce4218..421104ff 100644 --- a/test/performance/hibf/hierarchical_interleaved_bloom_filter_benchmark.cpp +++ b/test/performance/hibf/hierarchical_interleaved_bloom_filter_benchmark.cpp @@ -11,10 +11,11 @@ #include // for _Size, size #include // for span #include // for invalid_argument +#include // for basic_string #include // for make_tuple #include // for allocator, vector -#include // for config, insert_iterator +#include // for insert_iterator, config #include // for hierarchical_interleaved_bloom_filter inline benchmark::Counter hashes_per_second(size_t const count) diff --git a/test/performance/ibf/binning_bitvector_benchmark.cpp b/test/performance/ibf/binning_bitvector_benchmark.cpp index 76b5b250..9d499918 100644 --- a/test/performance/ibf/binning_bitvector_benchmark.cpp +++ b/test/performance/ibf/binning_bitvector_benchmark.cpp @@ -8,9 +8,9 @@ #include // for uint64_t #include // for size_t #include // for identity -#include // for allocator +#include // for allocator, vector -#include // for interleaved_bloom_filter +#include // for binning_bitvector #include // for operator- diff --git a/test/performance/ibf/interleaved_bloom_filter_benchmark.cpp b/test/performance/ibf/interleaved_bloom_filter_benchmark.cpp index 799cf5a7..fd08d3b0 100644 --- a/test/performance/ibf/interleaved_bloom_filter_benchmark.cpp +++ b/test/performance/ibf/interleaved_bloom_filter_benchmark.cpp @@ -9,11 +9,12 @@ #include // for numeric_limits #include // for uniform_int_distribution, mt19937_64 #include // for transform_view, all_t, iota_view, _Partial, _Transform +#include // for basic_string #include // for make_tuple #include // for vector, allocator #include // for operator| -#include // for operator== +#include // for operator==, pair #include // for to #include // for zip_view, operator==, zip, zip_fn #include // for bin_index, interleaved_bloom_filter, bin_count, bin_size diff --git a/test/unit/hibf/build/bin_size_in_bits_test.cpp b/test/unit/hibf/build/bin_size_in_bits_test.cpp index 75302a0b..5d69b430 100644 --- a/test/unit/hibf/build/bin_size_in_bits_test.cpp +++ b/test/unit/hibf/build/bin_size_in_bits_test.cpp @@ -2,13 +2,11 @@ // SPDX-FileCopyrightText: 2016-2023, Knut Reinert & MPI für molekulare Genetik // SPDX-License-Identifier: BSD-3-Clause -#include // for Message, TestPartResult, EXPECT_EQ, Test, ASSERT_EQ, TestInfo, TEST +#include // for Test, TestInfo, EXPECT_EQ, Message, TEST, TestPartResult -#include // for size_t -#include // for optional -#include // for vector, allocator +#include // for allocator -#include // for graph +#include // for bin_size_in_bits TEST(bin_size_in_bits_test, general) {