Implement the VLS roadmap on the native VBS build

Native VBS and CMake builds of the server and every registered suite:
protocol and document sync, VBS/compdb providers, stock GCC diagnostics
(including in-process default profile preparation), the stock occurrence
observer and hover/definition, the bounded Scheduler, C++ module graph,
scan and artifact cache with real CMI production, the context-aware
symbol index with schema-2 snapshot migration, navigation and guarded
rename, reflection provenance with splice-origin extraction, index-backed
completion and signature help, live GCC worker control with a registered
DAP suite, and the Neovim and VS Code clients.

VoidLibrary follows main. The private GCC 16.2.0 frontend is reproduced
from the versioned patches and verified stepping reflection/template code
with projected values 17/34 and 41/82.
This commit is contained in:
faumaray committed 2026-12-05 14:06:50 +03:00
1 parent ca04975d54
commit da8003f6d4
310 files changed
+47552 -480

No files matched your search

+4 -18
View File
@@ -1,25 +1,11 @@
#pragma once
#include <cstddef>
#include <expected>
#include <iosfwd>
#include <optional>
#include <string>
#include <string_view>
#include <Void/LanguageServer/Protocol/Framing.hpp>
namespace vls {
struct FrameLimits {
std::size_t header_bytes{8192};
std::size_t body_bytes{16777216};
};
// A disengaged optional means EOF between frames. Framing errors are fatal: the
// caller must not attempt to find another frame in an untrusted byte stream.
[[nodiscard]] std::expected<std::optional<std::string>, std::string>
read_frame(std::istream &input, FrameLimits limits = {});
[[nodiscard]] std::expected<void, std::string> write_frame(std::ostream &output,
std::string_view body);
using Void::LanguageServer::Protocol::FrameLimits;
using Void::LanguageServer::Protocol::read_frame;
using Void::LanguageServer::Protocol::write_frame;
} // namespace vls