1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 11:15:07 +00:00
serenity/Userland/DevTools/HackStudio/LanguageServers/Cpp
Andreas Kling 971b3645ef LibIPC: Add IPC::take_over_accepted_client_from_system_server<Client>()
This is an encapsulation of the common work done by all of our
single-client IPC servers on startup:

    1. Create a Core::LocalSocket, taking over an accepted fd.
    2. Create an application-specific ClientConnection object,
       wrapping the socket.

It's not a huge change in terms of lines saved, but I do feel that it
improves expressiveness. :^)
2021-12-06 19:22:16 +01:00
..
Tests CppLanguageServer: Add test for "get_parameters_hint" 2021-07-04 17:50:33 +02:00
ClientConnection.h LibIPC: Add IPC::take_over_accepted_client_from_system_server<Client>() 2021-12-06 19:22:16 +01:00
CMakeLists.txt LanguageServers/Cpp: Port to LibMain :^) 2021-11-23 11:33:36 +01:00
CppComprehensionEngine.cpp LibCpp: Add "ignore invalid statements" option to Preprocessor 2021-12-03 15:38:21 +01:00
CppComprehensionEngine.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
main.cpp LibIPC: Add IPC::take_over_accepted_client_from_system_server<Client>() 2021-12-06 19:22:16 +01:00
Tests.cpp LibCpp: Do lexing in the Preprocessor 2021-08-07 21:24:11 +02:00
Tests.h LanguageServer/Cpp: Add tests 2021-05-14 13:27:47 +02:00