[PATCH] D89277: [clangd] Add $/dumpMemoryTree LSP extension

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 05:39:43 PDT 2020


sammccall added a comment.

(sorry out today and haven't looked at code yet)

If it's a custom method, I think it should return the data as a json structure - the client already has to have custom support to invoke it, displaying the result isn't much extra work.

And I would really love to add a tree view to vscode, I think it wouldn't be hard (vs call hierarchy: no laziness and no direction-flipping) and could be reused for an AST viewer.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89277/new/

https://reviews.llvm.org/D89277



More information about the cfe-commits mailing list