summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibTest
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2023-01-02 16:57:12 +0100
committerTim Flynn <trflynn89@pm.me>2023-01-02 20:27:20 -0500
commit6fd478b6ce6e717132a5e9a9a907d0e56916701f (patch)
tree79706d9b79756ee4e58ee807097520e877e23a35 /Userland/Libraries/LibTest
parent345662d617f54b432680698816ca914dd4b7efef (diff)
downloadserenity-6fd478b6ce6e717132a5e9a9a907d0e56916701f.zip
Everywhere: Remove unused includes of AK/Format.h
These instances were detected by searching for files that include AK/Format.h, but don't match the regex: \\b(CheckedFormatString|critical_dmesgln|dbgln|dbgln_if|dmesgln|FormatBu ilder|__FormatIfSupported|FormatIfSupported|FormatParser|FormatString|Fo rmattable|Formatter|__format_value|HasFormatter|max_format_arguments|out |outln|set_debug_enabled|StandardFormatter|TypeErasedFormatParams|TypeEr asedParameter|VariadicFormatParams|v_critical_dmesgln|vdbgln|vdmesgln|vf ormat|vout|warn|warnln|warnln_if)\\b (Without the linebreaks.) This regex is pessimistic, so there might be more files that don't actually use any formatting functions. Observe that this revealed that Userland/Libraries/LibC/signal.cpp is missing an include. In theory, one might use LibCPP to detect things like this automatically, but let's do this one step after another.
Diffstat (limited to 'Userland/Libraries/LibTest')
-rw-r--r--Userland/Libraries/LibTest/TestSuite.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibTest/TestSuite.h b/Userland/Libraries/LibTest/TestSuite.h
index 84e2ad5ebd..827e78d031 100644
--- a/Userland/Libraries/LibTest/TestSuite.h
+++ b/Userland/Libraries/LibTest/TestSuite.h
@@ -10,7 +10,6 @@
#include <LibTest/Macros.h> // intentionally first -- we redefine VERIFY and friends in here
#include <AK/DeprecatedString.h>
-#include <AK/Format.h>
#include <AK/Function.h>
#include <AK/NonnullRefPtrVector.h>
#include <LibTest/TestCase.h>