Serve outgoing call hierarchy
callHierarchy/outgoingCalls groups calls attributed to the prepared function's innermost enclosing definition by callee, with registered core tests for grouping, innermost attribution, unresolved-callee omission and bounds. Real stdio evidence shows the observer reports only the declarator span, so body calls cannot be attributed without guessing; the matrix records that limitation.
This commit is contained in:
1 parent
cec4e7d717
commit
a098e45dc9
9 files changed
+178
-2
No files matched your search
@@ -79,6 +79,20 @@ the upgraded snapshot (keeping `snapshot.prev.json`) and rewrites a legacy
|
||||
about 25-30s in a Debug build (it passed VBS at ~27s); the full CMake run then
|
||||
passed 18/18.
|
||||
|
||||
## December 5 outgoing call hierarchy
|
||||
|
||||
`callHierarchy/outgoingCalls` is wired through
|
||||
`EditorDiagnostics::call_hierarchy_outgoing` to the core `outgoing`, which
|
||||
attributes each resolved call to the innermost known definition containing it
|
||||
and groups the results by callee definition. Registered `vls_feature_tests`
|
||||
cases cover grouping, innermost attribution, unresolved-callee omission and
|
||||
bounds. A real stdio session with nested calls
|
||||
(`int outer() { return inner() + inner(); }`) prepared `outer` and reported its
|
||||
incoming call, but outgoing was empty: the observer's definition span is the
|
||||
declarator only (`outer` at 1:4-1:9), so a call in the body cannot be attributed
|
||||
to it without guessing. Extending the compiler to report full function extents
|
||||
is the prerequisite for real outgoing results.
|
||||
|
||||
## December 5 call hierarchy over LSP
|
||||
|
||||
`EditorDiagnostics::call_hierarchy_prepare` turns a covering occurrence with a
|
||||
|
||||
Reference in new issue
Block a user