Everywhere: Remove unused includes of AK/Concepts.h

These instances were detected by searching for files that include
AK/Concepts.h, but don't match the regex:

\\b(AnyString|Arithmetic|ArrayLike|DerivedFrom|Enum|FallibleFunction|Flo
atingPoint|Fundamental|HashCompatible|Indexable|Integral|IterableContain
er|IteratorFunction|IteratorPairWith|OneOf|OneOfIgnoringCV|SameAs|Signed
|SpecializationOf|Unsigned|VoidFunction)\\b

(Without the linebreaks.)

This regex is pessimistic, so there might be more files that don't
actually use any concepts.

In theory, one might use LibCPP to detect things like this
automatically, but let's do this one step after another.
This commit is contained in:
Ben Wiederhake 2023-01-02 16:57:12 +01:00 committed by Tim Flynn
parent c2a900b853
commit f07847e099
Notes: sideshowbarker 2024-07-17 02:16:27 +09:00
8 changed files with 1 additions and 8 deletions

View file

@ -7,7 +7,6 @@
#pragma once #pragma once
#include <AK/BitCast.h> #include <AK/BitCast.h>
#include <AK/Concepts.h>
#include <AK/Types.h> #include <AK/Types.h>
namespace AK { namespace AK {

View file

@ -7,7 +7,6 @@
#pragma once #pragma once
#include <AK/Atomic.h> #include <AK/Atomic.h>
#include <AK/Concepts.h>
#include <AK/Vector.h> #include <AK/Vector.h>
#include <Kernel/Arch/x86_64/DescriptorTable.h> #include <Kernel/Arch/x86_64/DescriptorTable.h>

View file

@ -6,7 +6,7 @@
#pragma once #pragma once
#include <AK/Concepts.h> #include <AK/StdLibExtraDetails.h>
namespace Crypto { namespace Crypto {

View file

@ -6,7 +6,6 @@
#pragma once #pragma once
#include <AK/Concepts.h>
#include <Kernel/VirtualAddress.h> #include <Kernel/VirtualAddress.h>
namespace ELF { namespace ELF {

View file

@ -6,7 +6,6 @@
#pragma once #pragma once
#include <AK/Concepts.h>
#include <AK/HashMap.h> #include <AK/HashMap.h>
#include <AK/RedBlackTree.h> #include <AK/RedBlackTree.h>
#include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/GlobalObject.h>

View file

@ -10,7 +10,6 @@
#include <AK/Assertions.h> #include <AK/Assertions.h>
#include <AK/BitCast.h> #include <AK/BitCast.h>
#include <AK/Concepts.h>
#include <AK/DeprecatedString.h> #include <AK/DeprecatedString.h>
#include <AK/Format.h> #include <AK/Format.h>
#include <AK/Forward.h> #include <AK/Forward.h>

View file

@ -7,7 +7,6 @@
#pragma once #pragma once
#include <AK/Concepts.h>
#include <AK/IntegralMath.h> #include <AK/IntegralMath.h>
#include <AK/NonnullOwnPtrVector.h> #include <AK/NonnullOwnPtrVector.h>
#include <AK/Optional.h> #include <AK/Optional.h>

View file

@ -7,7 +7,6 @@
#pragma once #pragma once
#include <AK/ByteBuffer.h> #include <AK/ByteBuffer.h>
#include <AK/Concepts.h>
#include <AK/FixedArray.h> #include <AK/FixedArray.h>
#include <LibGfx/Bitmap.h> #include <LibGfx/Bitmap.h>
#include <LibGfx/Size.h> #include <LibGfx/Size.h>