Selaa lähdekoodia

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.
Hendiadyoin1 3 vuotta sitten
vanhempi
commit
bd6927ecab

+ 1 - 1
Meta/Lagom/Tools/CodeGenerators/IPCCompiler/CMakeLists.txt

@@ -2,4 +2,4 @@ set(SOURCES
     main.cpp
 )
 
-lagom_tool(IPCCompiler)
+lagom_tool(IPCCompiler LIBS LagomMain)

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 413 - 464
Meta/Lagom/Tools/CodeGenerators/IPCCompiler/main.cpp


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä