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:
1 parent
ca04975d54
commit
da8003f6d4
310 files changed
+47552
-480
No files matched your search
@@ -0,0 +1,25 @@
|
||||
#ifdef PUBLIC_ENTRY
|
||||
#include <Void/Core/Meta.hpp>
|
||||
namespace api = Void::Meta;
|
||||
#else
|
||||
#include <Void/Detail/Enum.hpp>
|
||||
namespace api = Void::Detail;
|
||||
#endif
|
||||
#include <cstdio>
|
||||
|
||||
enum class Source { Idle = 3, Ready = 17 };
|
||||
enum class Target { None = 0, Ready = 41 };
|
||||
|
||||
int main() {
|
||||
auto name = api::enum_name(Source::Ready);
|
||||
auto unknown = api::enum_name(static_cast<Source>(99));
|
||||
auto parsed = api::enum_parse<Source>("Ready");
|
||||
auto missed = api::enum_parse<Source>("ready");
|
||||
auto matched = api::enum_cast<Target>(Source::Ready);
|
||||
auto fallback = api::enum_cast<Target>(Source::Idle);
|
||||
std::printf("%.*s %.*s %d %d %d %d\n", int(name.size()), name.data(),
|
||||
int(unknown.size()), unknown.data(), int(parsed.value_or(Source::Idle)),
|
||||
int(missed.has_value()), int(matched), int(fallback));
|
||||
return !(name == "Ready" && unknown == "?" && parsed == Source::Ready &&
|
||||
!missed && matched == Target::Ready && fallback == Target::None);
|
||||
}
|
||||
Reference in new issue
Block a user