You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the cursor is on any foo declaration / definition and executing :ClangdShowOverrides this could open a new split in which you would get something like this:
Base::foo()
- Impl1::foo()
- Impl2::foo()
As in :ClangdTypeHierarchy you could jump to definition by hovering any line.
Thanks,
Steve
The text was updated successfully, but these errors were encountered:
I can think of one way to implement this: use reference container to find out the class in which the function declaration is, get its type hierarchy, ask for the ASTs of all the types in the hierarchy (the response to the typeHierarchy requests contains the location), and look at every CXXMethod in the AST to find a function which matches the name and signature.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I thought that querying a list of all overridden methods of a virtual method would be pretty nice. For example when having this code base:
When the cursor is on any foo declaration / definition and executing
:ClangdShowOverrides
this could open a new split in which you would get something like this:As in
:ClangdTypeHierarchy
you could jump to definition by hovering any line.Thanks,
Steve
The text was updated successfully, but these errors were encountered: