Skip to content

Commit cc89606

Browse files
BenWiederhakeawesomekling
authored andcommitted
Everywhere: Remove unnecessary headers 3/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).
1 parent fa2b5ca commit cc89606

File tree

10 files changed

+0
-11
lines changed

10 files changed

+0
-11
lines changed

AK/Base64.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#pragma once
2828

2929
#include <AK/ByteBuffer.h>
30-
#include <AK/Span.h>
3130
#include <AK/String.h>
3231
#include <AK/StringView.h>
3332

AK/BinarySearch.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#pragma once
2828

29-
#include <AK/Span.h>
3029
#include <AK/StdLibExtras.h>
3130
#include <AK/Types.h>
3231

AK/ByteBuffer.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@
2727
#pragma once
2828

2929
#include <AK/NonnullRefPtr.h>
30-
#include <AK/OwnPtr.h>
3130
#include <AK/RefCounted.h>
3231
#include <AK/RefPtr.h>
3332
#include <AK/Span.h>
34-
#include <AK/StdLibExtras.h>
3533
#include <AK/Types.h>
3634
#include <AK/kmalloc.h>
3735

AK/DoublyLinkedList.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include <AK/Assertions.h>
3030
#include <AK/Find.h>
3131
#include <AK/StdLibExtras.h>
32-
#include <AK/Traits.h>
3332

3433
namespace AK {
3534

AK/Function.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <AK/Assertions.h>
2929
#include <AK/OwnPtr.h>
3030
#include <AK/StdLibExtras.h>
31-
#include <AK/Traits.h>
3231

3332
namespace AK {
3433

AK/Hex.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
#include <AK/ByteBuffer.h>
3030
#include <AK/Optional.h>
31-
#include <AK/Span.h>
3231
#include <AK/String.h>
3332
#include <AK/StringView.h>
3433

AK/JsonPath.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#pragma once
2828

29-
#include <AK/Optional.h>
3029
#include <AK/String.h>
3130
#include <AK/Types.h>
3231
#include <AK/Vector.h>

AK/NumberFormat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#pragma once
2828

29-
#include <AK/Forward.h>
3029
#include <AK/String.h>
3130

3231
namespace AK {

AK/Optional.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#pragma once
2828

2929
#include <AK/Assertions.h>
30-
#include <AK/Platform.h>
3130
#include <AK/StdLibExtras.h>
3231
#include <AK/Types.h>
3332
#include <AK/kmalloc.h>

AK/Singleton.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include <AK/Assertions.h>
3030
#include <AK/Atomic.h>
3131
#include <AK/Noncopyable.h>
32-
#include <AK/kmalloc.h>
3332
#ifdef KERNEL
3433
# include <Kernel/Arch/i386/CPU.h>
3534
#endif

0 commit comments

Comments
 (0)