1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-19 06:37:38 +00:00
serenity/Userland/Libraries/LibRegex
Ben Wiederhake 6fd478b6ce 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.
2023-01-02 20:27:20 -05:00
..
C AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Forward.h LibRegex: Don't push LibRegex's "Error" into the global namespace 2021-11-08 00:35:27 +01:00
Regex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexByteCode.cpp Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
RegexByteCode.h Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
RegexBytecodeStreamOptimizer.h LibRegex: Make codegen+optimisation for alternatives much faster 2022-02-20 11:53:59 +01:00
RegexDebug.h Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
RegexError.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
RegexLexer.cpp Everywhere: Use default StringView constructor over nullptr 2022-07-12 23:11:35 +02:00
RegexLexer.h Everywhere: Use default StringView constructor over nullptr 2022-07-12 23:11:35 +02:00
RegexMatch.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
RegexMatcher.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
RegexMatcher.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
RegexOptimizer.cpp Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
RegexOptions.h Everywhere: Replace uses of __serenity__ with AK_OS_SERENITY 2022-10-10 12:23:12 +02:00
RegexParser.cpp Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
RegexParser.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00