diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-01-02 16:57:12 +0100 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-02 20:27:20 -0500 |
commit | f07847e099b203e42b6cc613acf3eecd4af55c9d (patch) | |
tree | caef1418dde5cfc6599421c35b9ae03f41a090d5 /Kernel | |
parent | c2a900b8535df96c931b1c2b93765f5bca468fd7 (diff) | |
download | serenity-f07847e099b203e42b6cc613acf3eecd4af55c9d.zip |
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.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Arch/x86_64/CPU.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Arch/x86_64/CPU.h b/Kernel/Arch/x86_64/CPU.h index 3b3e0c4845..8360fff976 100644 --- a/Kernel/Arch/x86_64/CPU.h +++ b/Kernel/Arch/x86_64/CPU.h @@ -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> |