Serve call hierarchy from stock call facts

prepareCallHierarchy returns the callee definition as one item, and
callHierarchy/incomingCalls groups resolved call sites by the
innermost compiler-proven enclosing definition, falling back to an
explicit file-level caller. The server advertises
callHierarchyProvider. A real stdio session with the stock observer
prepared fnv1a64 (Hash.hpp) and reported one incoming call from
DocumentSnapshot.cpp.
This commit is contained in:
faumaray committed 2026-12-05 16:48:05 +03:00
1 parent 555ccecd65
commit cec4e7d717
6 files changed
+166 -2

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ missing part. Updated December 5, 2026 after semantic tokens and inlay hints.
| Compiler-native completion with visibility proof | index-backed completion is explicitly incomplete |
| Overload-set signature help | only the selected occurrence's signature is available |
| textDocument/formatting | needs a plan |
| callHierarchy / typeHierarchy | incoming-call core is implemented and tested (`vls_features::call_hierarchy`); server wiring and type hierarchy are open |
| callHierarchy / typeHierarchy | callHierarchy prepare + incomingCalls are implemented and verified over stdio; type hierarchy and outgoing calls are open |
| textDocument/codeLens, executeCommand | command surface not designed |
| Client-side application of server-issued workspace edits | rename and code actions return edits the clients apply directly |
| Applying multi-file renames through client buffers | plans can be ready; application is client work |