mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
![]() 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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TestAbort.cpp | ||
TestAssert.cpp | ||
TestCType.cpp | ||
TestIo.cpp | ||
TestLibCDirEnt.cpp | ||
TestLibCExec.cpp | ||
TestLibCInodeWatcher.cpp | ||
TestLibCMkTemp.cpp | ||
TestLibCSetjmp.cpp | ||
TestLibCString.cpp | ||
TestLibCTime.cpp | ||
TestMalloc.cpp | ||
TestMath.cpp | ||
TestMemalign.cpp | ||
TestMemmem.cpp | ||
TestMkDir.cpp | ||
TestPthreadCancel.cpp | ||
TestPthreadCleanup.cpp | ||
TestPThreadPriority.cpp | ||
TestPthreadRWLocks.cpp | ||
TestPthreadSpinLocks.cpp | ||
TestPwd.cpp | ||
TestQsort.cpp | ||
TestRaise.cpp | ||
TestRealpath.cpp | ||
TestScanf.cpp | ||
TestSearch.cpp | ||
TestSnprintf.cpp | ||
TestStackSmash.cpp | ||
TestStdio.cpp | ||
TestStrlcpy.cpp | ||
TestStrtodAccuracy.cpp | ||
TestWchar.cpp | ||
TestWctype.cpp |