From c6a42ab5c3f701700b62617b60c1596b5f214128 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Mon, 1 Feb 2021 22:48:35 +0100 Subject: [PATCH] Everywhere: Remove unnecessary headers 4/4 Arbitrarily split up to make git bisect easier. These unnecessary #include's were found by combining an automated tool (which determined likely candidates) and some brain power (which decided whether the #include is also semantically superfluous). --- AK/Bitmap.h | 1 - AK/CircularDeque.h | 1 - AK/FileStream.h | 1 - AK/HashMap.h | 1 - AK/JsonParser.cpp | 1 - AK/JsonValue.cpp | 1 - AK/NonnullRefPtr.h | 1 - AK/SinglyLinkedListWithCount.h | 1 - Meta/Lagom/Fuzzers/FuzzilliJs.cpp | 1 - 9 files changed, 9 deletions(-) diff --git a/AK/Bitmap.h b/AK/Bitmap.h index 5bff0e7bfd..0ff6d744bb 100644 --- a/AK/Bitmap.h +++ b/AK/Bitmap.h @@ -26,7 +26,6 @@ #pragma once -#include #include #include #include diff --git a/AK/CircularDeque.h b/AK/CircularDeque.h index 06b91e2012..27b31ea2c1 100644 --- a/AK/CircularDeque.h +++ b/AK/CircularDeque.h @@ -26,7 +26,6 @@ #pragma once -#include #include #include diff --git a/AK/FileStream.h b/AK/FileStream.h index 27138b0f34..e2f70289ea 100644 --- a/AK/FileStream.h +++ b/AK/FileStream.h @@ -28,7 +28,6 @@ #include #ifndef KERNEL -# include # include # include diff --git a/AK/HashMap.h b/AK/HashMap.h index e716500876..81e30b26ac 100644 --- a/AK/HashMap.h +++ b/AK/HashMap.h @@ -28,7 +28,6 @@ #include #include -#include #include // NOTE: We can't include during the toolchain bootstrap, diff --git a/AK/JsonParser.cpp b/AK/JsonParser.cpp index e7939a19ca..e645c4c91f 100644 --- a/AK/JsonParser.cpp +++ b/AK/JsonParser.cpp @@ -27,7 +27,6 @@ #include #include #include -#include #include namespace AK { diff --git a/AK/JsonValue.cpp b/AK/JsonValue.cpp index 1269f4baff..288fdc6cc8 100644 --- a/AK/JsonValue.cpp +++ b/AK/JsonValue.cpp @@ -24,7 +24,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include #include diff --git a/AK/NonnullRefPtr.h b/AK/NonnullRefPtr.h index 734c822c73..33666d0302 100644 --- a/AK/NonnullRefPtr.h +++ b/AK/NonnullRefPtr.h @@ -29,7 +29,6 @@ #include #include #include -#include #include #ifdef KERNEL # include diff --git a/AK/SinglyLinkedListWithCount.h b/AK/SinglyLinkedListWithCount.h index 1ef8c1273e..05878f7218 100644 --- a/AK/SinglyLinkedListWithCount.h +++ b/AK/SinglyLinkedListWithCount.h @@ -27,7 +27,6 @@ #pragma once #include -#include namespace AK { diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp index 5ffbcdbfcb..b06be95c7b 100644 --- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp +++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp @@ -32,7 +32,6 @@ #include #include #include -#include #include #include