Group incoming calls by the enclosing definition

A bounded call-hierarchy core maps resolved call sites to the
innermost compiler-proven definition containing them in the same file,
falling back to an explicitly file-level caller instead of a guessed
function. Registered vls_feature_tests cases cover grouping,
deduplication, exact-target matching and bounds. Server wiring remains.
This commit is contained in:
faumaray committed 2026-12-05 16:30:33 +03:00
1 parent b0b48d961c
commit 555ccecd65
7 files changed
+226 -4

No files matched your search

+3 -1
View File
@@ -76,6 +76,7 @@ void build(Void::Build::Project &project) {
"src/features/InlayHints.cpp",
"src/features/FileOperations.cpp",
"src/features/IncludeUpdate.cpp",
"src/features/CallHierarchy.cpp",
"src/debug/live/LiveSession.cpp",
"src/modules/ModuleWorkQueue.cpp",
"src/modules/GccScan.cpp",
@@ -157,7 +158,8 @@ void build(Void::Build::Project &project) {
"tests/features/SignatureHelpTests.cpp", "tests/features/DocumentSymbolsTests.cpp",
"tests/features/TextStructureTests.cpp", "tests/features/CodeActionsTests.cpp",
"tests/features/SemanticTokensTests.cpp", "tests/features/InlayHintsTests.cpp",
"tests/features/FileOperationsTests.cpp", "tests/features/IncludeUpdateTests.cpp"});
"tests/features/FileOperationsTests.cpp", "tests/features/IncludeUpdateTests.cpp",
"tests/features/CallHierarchyTests.cpp"});
auto live_worker = project.executable("vls_live_worker_fixture");
live_worker.cxx_standard(CxxStandard::Cxx26)
.sources({"tests/debug/LiveWorkerFixture.cpp"})