diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-01-02 18:15:28 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-01-02 20:08:35 +0000 |
commit | a8391d5a6093b6136db17fedc0e5a77e0bbac1ae (patch) | |
tree | 1d261a0fa92346111616eb6009d889fcbfe97989 | |
parent | add6be4c6471017a20c4318366a5f247420167a9 (diff) | |
download | serenity-a8391d5a6093b6136db17fedc0e5a77e0bbac1ae.zip |
Everywhere: Remove unused includes of AK/Array.h
These instances were detected by searching for files that include
Array.h, but don't match the regex:
\\b(Array(?!\.h>)|iota_array|integer_sequence_generate_array)\\b
These are the three symbols defined by Array.h.
In theory, one might use LibCPP to detect things like this
automatically, but let's do this one step after another.
-rw-r--r-- | AK/Hex.cpp | 1 | ||||
-rw-r--r-- | Kernel/Arch/aarch64/Processor.h | 1 | ||||
-rw-r--r-- | Userland/Applications/Piano/TrackManager.h | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibGPU/Device.h | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibGPU/RasterizerOptions.h | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibGfx/PNGLoader.cpp | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/DatePrototype.cpp | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/WebDriver/ElementLocationStrategies.h | 1 | ||||
-rw-r--r-- | Userland/Utilities/stty.cpp | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/AK/Hex.cpp b/AK/Hex.cpp index 7b9dfccbb7..5f7252c184 100644 --- a/AK/Hex.cpp +++ b/AK/Hex.cpp @@ -5,7 +5,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/Array.h> #include <AK/Hex.h> #include <AK/StringBuilder.h> #include <AK/Types.h> diff --git a/Kernel/Arch/aarch64/Processor.h b/Kernel/Arch/aarch64/Processor.h index 8374c61ac0..cc2f2f60e6 100644 --- a/Kernel/Arch/aarch64/Processor.h +++ b/Kernel/Arch/aarch64/Processor.h @@ -7,7 +7,6 @@ #pragma once -#include <AK/Array.h> #include <AK/Concepts.h> #include <AK/Function.h> #include <AK/Types.h> diff --git a/Userland/Applications/Piano/TrackManager.h b/Userland/Applications/Piano/TrackManager.h index 73677c9fe3..169b9f6a94 100644 --- a/Userland/Applications/Piano/TrackManager.h +++ b/Userland/Applications/Piano/TrackManager.h @@ -10,7 +10,6 @@ #pragma once #include "Music.h" -#include <AK/Array.h> #include <AK/FixedArray.h> #include <AK/Noncopyable.h> #include <AK/NonnullOwnPtr.h> diff --git a/Userland/Libraries/LibGPU/Device.h b/Userland/Libraries/LibGPU/Device.h index 59d5ea993a..b957505c9d 100644 --- a/Userland/Libraries/LibGPU/Device.h +++ b/Userland/Libraries/LibGPU/Device.h @@ -7,7 +7,6 @@ #pragma once -#include <AK/Array.h> #include <AK/NonnullRefPtr.h> #include <AK/Vector.h> #include <LibGPU/DeviceInfo.h> diff --git a/Userland/Libraries/LibGPU/RasterizerOptions.h b/Userland/Libraries/LibGPU/RasterizerOptions.h index 82130292c4..21bab272a8 100644 --- a/Userland/Libraries/LibGPU/RasterizerOptions.h +++ b/Userland/Libraries/LibGPU/RasterizerOptions.h @@ -7,7 +7,6 @@ #pragma once -#include <AK/Array.h> #include <LibGPU/Config.h> #include <LibGPU/Enums.h> #include <LibGfx/Rect.h> diff --git a/Userland/Libraries/LibGfx/PNGLoader.cpp b/Userland/Libraries/LibGfx/PNGLoader.cpp index 82ed4b0821..42a00bcbea 100644 --- a/Userland/Libraries/LibGfx/PNGLoader.cpp +++ b/Userland/Libraries/LibGfx/PNGLoader.cpp @@ -5,7 +5,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/Array.h> #include <AK/Debug.h> #include <AK/Endian.h> #include <AK/Vector.h> diff --git a/Userland/Libraries/LibJS/Runtime/DatePrototype.cpp b/Userland/Libraries/LibJS/Runtime/DatePrototype.cpp index f872d2b567..faadc9a06f 100644 --- a/Userland/Libraries/LibJS/Runtime/DatePrototype.cpp +++ b/Userland/Libraries/LibJS/Runtime/DatePrototype.cpp @@ -7,7 +7,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/Array.h> #include <AK/DateConstants.h> #include <AK/DeprecatedString.h> #include <AK/Function.h> diff --git a/Userland/Libraries/LibWeb/WebDriver/ElementLocationStrategies.h b/Userland/Libraries/LibWeb/WebDriver/ElementLocationStrategies.h index 8d82286a21..eac1416f87 100644 --- a/Userland/Libraries/LibWeb/WebDriver/ElementLocationStrategies.h +++ b/Userland/Libraries/LibWeb/WebDriver/ElementLocationStrategies.h @@ -7,7 +7,6 @@ #pragma once -#include <AK/Array.h> #include <LibJS/Heap/GCPtr.h> #include <LibWeb/DOM/NodeList.h> #include <LibWeb/Forward.h> diff --git a/Userland/Utilities/stty.cpp b/Userland/Utilities/stty.cpp index 44eac1434d..a943855319 100644 --- a/Userland/Utilities/stty.cpp +++ b/Userland/Utilities/stty.cpp @@ -7,7 +7,6 @@ #define __USE_MISC #define TTYDEFCHARS -#include <AK/Array.h> #include <AK/DeprecatedString.h> #include <AK/Optional.h> #include <AK/Result.h> |