mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Meta: Refactor the IPC-compiler and port it to LibMain
This does a few things in total: * Ports the IPC-compiler to LibMain * Extract some compiler steps into separate functions * Minify some appends to use appendln (or appendff in the case of StringBuilder) This reduces the clang-tidies maximum cognitive-complexity score for this file from 325 to under 100.
This commit is contained in:
parent
50b6e74d33
commit
bd6927ecab
Notes:
sideshowbarker
2024-07-17 20:19:08 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/bd6927ecab Pull-request: https://github.com/SerenityOS/serenity/pull/12735 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/kleinesfilmroellchen ✅
2 changed files with 428 additions and 478 deletions
|
@ -2,4 +2,4 @@ set(SOURCES
|
|||
main.cpp
|
||||
)
|
||||
|
||||
lagom_tool(IPCCompiler)
|
||||
lagom_tool(IPCCompiler LIBS LagomMain)
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue