From 70a64605f7da52b463db610a5a42a5f4f749dda8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Nov 2024 16:06:12 -0500 Subject: Use angle brackets for library includes --- test/cpp/test_headers_cpp.cpp | 30 +++++++++++++++--------------- test/cpp/test_path_std.cpp | 4 ++-- test/failing_allocator.h | 2 +- test/headers/test_headers.c | 30 +++++++++++++++--------------- test/test_allocator.c | 4 ++-- test/test_btree.c | 8 ++++---- test/test_digest.c | 4 ++-- test/test_filesystem.c | 10 +++++----- test/test_hash.c | 10 +++++----- test/test_path.c | 4 ++-- test/test_ring.c | 8 ++++---- test/test_sem.c | 8 ++++---- test/test_status.c | 2 +- test/test_string_view.c | 4 ++-- test/test_thread.c | 4 ++-- test/test_tree.c | 8 ++++---- 16 files changed, 70 insertions(+), 70 deletions(-) (limited to 'test') diff --git a/test/cpp/test_headers_cpp.cpp b/test/cpp/test_headers_cpp.cpp index f8038c1..3676afc 100644 --- a/test/cpp/test_headers_cpp.cpp +++ b/test/cpp/test_headers_cpp.cpp @@ -5,21 +5,21 @@ # define WIN32_LEAN_AND_MEAN #endif -#include "zix/allocator.h" // IWYU pragma: keep -#include "zix/attributes.h" // IWYU pragma: keep -#include "zix/btree.h" // IWYU pragma: keep -#include "zix/bump_allocator.h" // IWYU pragma: keep -#include "zix/digest.h" // IWYU pragma: keep -#include "zix/filesystem.h" // IWYU pragma: keep -#include "zix/hash.h" // IWYU pragma: keep -#include "zix/path.h" // IWYU pragma: keep -#include "zix/ring.h" // IWYU pragma: keep -#include "zix/sem.h" // IWYU pragma: keep -#include "zix/status.h" // IWYU pragma: keep -#include "zix/string_view.h" // IWYU pragma: keep -#include "zix/thread.h" // IWYU pragma: keep -#include "zix/tree.h" // IWYU pragma: keep -#include "zix/zix.h" // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep #if defined(__GNUC__) __attribute__((const)) diff --git a/test/cpp/test_path_std.cpp b/test/cpp/test_path_std.cpp index cabf3da..7b592d8 100644 --- a/test/cpp/test_path_std.cpp +++ b/test/cpp/test_path_std.cpp @@ -10,8 +10,8 @@ #undef NDEBUG -#include "zix/path.h" -#include "zix/string_view.h" +#include +#include #include #include diff --git a/test/failing_allocator.h b/test/failing_allocator.h index 5f6d220..215f2b6 100644 --- a/test/failing_allocator.h +++ b/test/failing_allocator.h @@ -4,7 +4,7 @@ #ifndef ZIX_TEST_FAILING_ALLOCATOR_H #define ZIX_TEST_FAILING_ALLOCATOR_H -#include "zix/allocator.h" +#include #include diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c index a610600..2b4d09b 100644 --- a/test/headers/test_headers.c +++ b/test/headers/test_headers.c @@ -1,21 +1,21 @@ // Copyright 2022 David Robillard // SPDX-License-Identifier: ISC -#include "zix/allocator.h" // IWYU pragma: keep -#include "zix/attributes.h" // IWYU pragma: keep -#include "zix/btree.h" // IWYU pragma: keep -#include "zix/bump_allocator.h" // IWYU pragma: keep -#include "zix/digest.h" // IWYU pragma: keep -#include "zix/filesystem.h" // IWYU pragma: keep -#include "zix/hash.h" // IWYU pragma: keep -#include "zix/path.h" // IWYU pragma: keep -#include "zix/ring.h" // IWYU pragma: keep -#include "zix/sem.h" // IWYU pragma: keep -#include "zix/status.h" // IWYU pragma: keep -#include "zix/string_view.h" // IWYU pragma: keep -#include "zix/thread.h" // IWYU pragma: keep -#include "zix/tree.h" // IWYU pragma: keep -#include "zix/zix.h" // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep +#include // IWYU pragma: keep #if defined(__GNUC__) __attribute__((const)) diff --git a/test/test_allocator.c b/test/test_allocator.c index 2677624..e9be7ea 100644 --- a/test/test_allocator.c +++ b/test/test_allocator.c @@ -5,8 +5,8 @@ #include "failing_allocator.h" -#include "zix/allocator.h" -#include "zix/bump_allocator.h" +#include +#include #include #include diff --git a/test/test_btree.c b/test/test_btree.c index 6269c4b..97bd9ba 100644 --- a/test/test_btree.c +++ b/test/test_btree.c @@ -3,16 +3,16 @@ #undef NDEBUG -#include "zix/btree.h" +#include #include "ensure.h" #include "failing_allocator.h" #include "test_args.h" #include "test_data.h" -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include +#include +#include #include #include diff --git a/test/test_digest.c b/test/test_digest.c index 7e7e77a..65a0e41 100644 --- a/test/test_digest.c +++ b/test/test_digest.c @@ -3,8 +3,8 @@ #undef NDEBUG -#include "zix/attributes.h" -#include "zix/digest.h" +#include +#include #include #include diff --git a/test/test_filesystem.c b/test/test_filesystem.c index 511c66e..0c775d1 100644 --- a/test/test_filesystem.c +++ b/test/test_filesystem.c @@ -3,11 +3,11 @@ #undef NDEBUG -#include "zix/allocator.h" -#include "zix/filesystem.h" -#include "zix/path.h" -#include "zix/status.h" -#include "zix/string_view.h" +#include +#include +#include +#include +#include #ifndef _WIN32 # include diff --git a/test/test_hash.c b/test/test_hash.c index 31c7e45..2ff286c 100644 --- a/test/test_hash.c +++ b/test/test_hash.c @@ -10,11 +10,11 @@ #include "failing_allocator.h" #include "test_data.h" -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/digest.h" -#include "zix/hash.h" -#include "zix/status.h" +#include +#include +#include +#include +#include #include #include diff --git a/test/test_path.c b/test/test_path.c index 5c98c32..3a8353d 100644 --- a/test/test_path.c +++ b/test/test_path.c @@ -3,8 +3,8 @@ #undef NDEBUG -#include "zix/path.h" -#include "zix/string_view.h" +#include +#include #include #include diff --git a/test/test_ring.c b/test/test_ring.c index 156d867..06ac183 100644 --- a/test/test_ring.c +++ b/test/test_ring.c @@ -6,10 +6,10 @@ #include "failing_allocator.h" #include "test_args.h" -#include "zix/attributes.h" -#include "zix/ring.h" -#include "zix/status.h" -#include "zix/thread.h" +#include +#include +#include +#include #include #include diff --git a/test/test_sem.c b/test/test_sem.c index 0118f50..ad2ea6d 100644 --- a/test/test_sem.c +++ b/test/test_sem.c @@ -3,10 +3,10 @@ #undef NDEBUG -#include "zix/attributes.h" -#include "zix/sem.h" -#include "zix/status.h" -#include "zix/thread.h" +#include +#include +#include +#include #include #include diff --git a/test/test_status.c b/test/test_status.c index 6857928..b047fe8 100644 --- a/test/test_status.c +++ b/test/test_status.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "zix/status.h" +#include #include #include diff --git a/test/test_string_view.c b/test/test_string_view.c index 764edcb..9aeb826 100644 --- a/test/test_string_view.c +++ b/test/test_string_view.c @@ -5,8 +5,8 @@ #include "failing_allocator.h" -#include "zix/allocator.h" -#include "zix/string_view.h" +#include +#include #include #include diff --git a/test/test_thread.c b/test/test_thread.c index 09edde6..ede0f31 100644 --- a/test/test_thread.c +++ b/test/test_thread.c @@ -3,8 +3,8 @@ #undef NDEBUG -#include "zix/status.h" -#include "zix/thread.h" +#include +#include #include #include diff --git a/test/test_tree.c b/test/test_tree.c index ff63999..61be9be 100644 --- a/test/test_tree.c +++ b/test/test_tree.c @@ -8,10 +8,10 @@ #include "test_args.h" #include "test_data.h" -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" -#include "zix/tree.h" +#include +#include +#include +#include #include #include -- cgit v1.2.1