From 8a331d4fa061fd7c73c32c551ddf8d80774b349d Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Mon, 2 Jan 2023 21:07:18 +0100 Subject: [PATCH] Everywhere: Move AK/Debug.h include to using files or remove --- .../CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp | 1 - Tests/LibRegex/Regex.cpp | 1 + Userland/DevTools/HackStudio/LanguageServers/FileDB.cpp | 1 + Userland/DevTools/UserspaceEmulator/Emulator.cpp | 1 - Userland/Libraries/LibELF/DynamicLoader.cpp | 1 - Userland/Libraries/LibHTTP/HttpsJob.cpp | 1 - Userland/Libraries/LibJS/SourceTextModule.cpp | 1 + Userland/Libraries/LibMarkdown/Text.cpp | 1 - Userland/Libraries/LibRegex/RegexByteCode.cpp | 1 - Userland/Libraries/LibRegex/RegexDebug.h | 1 - Userland/Libraries/LibRegex/RegexOptimizer.cpp | 1 + Userland/Libraries/LibRegex/RegexParser.cpp | 1 + Userland/Libraries/LibSQL/Tuple.h | 1 - Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp | 1 + Userland/Libraries/LibVideo/Containers/Matroska/Reader.h | 1 - Userland/Libraries/LibWasm/AbstractMachine/Validator.h | 1 + Userland/Libraries/LibWasm/Parser/Parser.cpp | 1 + Userland/Libraries/LibWasm/Types.h | 1 - Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp | 1 - .../Services/FileSystemAccessServer/ConnectionFromClient.cpp | 1 - 20 files changed, 8 insertions(+), 12 deletions(-) diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp index 931989fb043..d32ce65d8e2 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include #include diff --git a/Tests/LibRegex/Regex.cpp b/Tests/LibRegex/Regex.cpp index 44335aa8212..452d97fed5b 100644 --- a/Tests/LibRegex/Regex.cpp +++ b/Tests/LibRegex/Regex.cpp @@ -6,6 +6,7 @@ #include // import first, to prevent warning of VERIFY* redefinition +#include #include #include #include diff --git a/Userland/DevTools/HackStudio/LanguageServers/FileDB.cpp b/Userland/DevTools/HackStudio/LanguageServers/FileDB.cpp index dad71ef73d9..27c2091c2bc 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/FileDB.cpp +++ b/Userland/DevTools/HackStudio/LanguageServers/FileDB.cpp @@ -6,6 +6,7 @@ #include "FileDB.h" +#include #include #include diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.cpp b/Userland/DevTools/UserspaceEmulator/Emulator.cpp index e694ad305fc..7c0cb551bb2 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator.cpp +++ b/Userland/DevTools/UserspaceEmulator/Emulator.cpp @@ -9,7 +9,6 @@ #include "MmapRegion.h" #include "SimpleRegion.h" #include "SoftCPU.h" -#include #include #include #include diff --git a/Userland/Libraries/LibELF/DynamicLoader.cpp b/Userland/Libraries/LibELF/DynamicLoader.cpp index ffc6277b970..48708938abd 100644 --- a/Userland/Libraries/LibELF/DynamicLoader.cpp +++ b/Userland/Libraries/LibELF/DynamicLoader.cpp @@ -7,7 +7,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include #include diff --git a/Userland/Libraries/LibHTTP/HttpsJob.cpp b/Userland/Libraries/LibHTTP/HttpsJob.cpp index 07d332582bf..76e3da828fd 100644 --- a/Userland/Libraries/LibHTTP/HttpsJob.cpp +++ b/Userland/Libraries/LibHTTP/HttpsJob.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include namespace HTTP { diff --git a/Userland/Libraries/LibJS/SourceTextModule.cpp b/Userland/Libraries/LibJS/SourceTextModule.cpp index 8e3f96e8773..ca4c2c8d2dc 100644 --- a/Userland/Libraries/LibJS/SourceTextModule.cpp +++ b/Userland/Libraries/LibJS/SourceTextModule.cpp @@ -5,6 +5,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include #include #include #include diff --git a/Userland/Libraries/LibMarkdown/Text.cpp b/Userland/Libraries/LibMarkdown/Text.cpp index c0a4bd51f64..2a410f19760 100644 --- a/Userland/Libraries/LibMarkdown/Text.cpp +++ b/Userland/Libraries/LibMarkdown/Text.cpp @@ -5,7 +5,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include #include diff --git a/Userland/Libraries/LibRegex/RegexByteCode.cpp b/Userland/Libraries/LibRegex/RegexByteCode.cpp index dee4dd9f57c..ede861eecbe 100644 --- a/Userland/Libraries/LibRegex/RegexByteCode.cpp +++ b/Userland/Libraries/LibRegex/RegexByteCode.cpp @@ -8,7 +8,6 @@ #include "RegexDebug.h" #include #include -#include #include #include diff --git a/Userland/Libraries/LibRegex/RegexDebug.h b/Userland/Libraries/LibRegex/RegexDebug.h index d7705f53ca7..8c1f9eb4a25 100644 --- a/Userland/Libraries/LibRegex/RegexDebug.h +++ b/Userland/Libraries/LibRegex/RegexDebug.h @@ -6,7 +6,6 @@ #pragma once -#include #include #include diff --git a/Userland/Libraries/LibRegex/RegexOptimizer.cpp b/Userland/Libraries/LibRegex/RegexOptimizer.cpp index 0eb46ed600d..85879c88190 100644 --- a/Userland/Libraries/LibRegex/RegexOptimizer.cpp +++ b/Userland/Libraries/LibRegex/RegexOptimizer.cpp @@ -4,6 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include #include #include #include diff --git a/Userland/Libraries/LibRegex/RegexParser.cpp b/Userland/Libraries/LibRegex/RegexParser.cpp index bfc3e433787..e939b4779bf 100644 --- a/Userland/Libraries/LibRegex/RegexParser.cpp +++ b/Userland/Libraries/LibRegex/RegexParser.cpp @@ -9,6 +9,7 @@ #include "RegexDebug.h" #include #include +#include #include #include #include diff --git a/Userland/Libraries/LibSQL/Tuple.h b/Userland/Libraries/LibSQL/Tuple.h index 1b10f4e60f1..9f8404d77ea 100644 --- a/Userland/Libraries/LibSQL/Tuple.h +++ b/Userland/Libraries/LibSQL/Tuple.h @@ -6,7 +6,6 @@ #pragma once -#include #include #include #include diff --git a/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp b/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp index 2791dbaa013..62d9daaf94a 100644 --- a/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp +++ b/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp @@ -5,6 +5,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include #include #include #include diff --git a/Userland/Libraries/LibVideo/Containers/Matroska/Reader.h b/Userland/Libraries/LibVideo/Containers/Matroska/Reader.h index 927adb82b6d..b8d7f9f4203 100644 --- a/Userland/Libraries/LibVideo/Containers/Matroska/Reader.h +++ b/Userland/Libraries/LibVideo/Containers/Matroska/Reader.h @@ -8,7 +8,6 @@ #pragma once #include -#include #include #include #include diff --git a/Userland/Libraries/LibWasm/AbstractMachine/Validator.h b/Userland/Libraries/LibWasm/AbstractMachine/Validator.h index f8b4ef2d0c5..75f8bd3bb99 100644 --- a/Userland/Libraries/LibWasm/AbstractMachine/Validator.h +++ b/Userland/Libraries/LibWasm/AbstractMachine/Validator.h @@ -6,6 +6,7 @@ #pragma once +#include #include #include #include diff --git a/Userland/Libraries/LibWasm/Parser/Parser.cpp b/Userland/Libraries/LibWasm/Parser/Parser.cpp index 362acf2891e..093635b03ae 100644 --- a/Userland/Libraries/LibWasm/Parser/Parser.cpp +++ b/Userland/Libraries/LibWasm/Parser/Parser.cpp @@ -4,6 +4,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include #include #include #include diff --git a/Userland/Libraries/LibWasm/Types.h b/Userland/Libraries/LibWasm/Types.h index e9034de338b..95a7b1526d2 100644 --- a/Userland/Libraries/LibWasm/Types.h +++ b/Userland/Libraries/LibWasm/Types.h @@ -7,7 +7,6 @@ #pragma once #include -#include #include #include #include diff --git a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp index e8a9c6134f3..ef0a4a727b6 100644 --- a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp +++ b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.cpp @@ -5,7 +5,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include #include diff --git a/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp b/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp index 71e8439f782..f39d05c8c8c 100644 --- a/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp +++ b/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include #include