1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 05:40:46 +00:00

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
8 changed files with 1 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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