[all-commits] [llvm/llvm-project] 7759f7: [clangd] Support typeHierarchy/resolve for childre...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Mon Jun 15 09:01:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7759f70fb0ee2cd6752d9188bd2578cc3d9a7a2e
      https://github.com/llvm/llvm-project/commit/7759f70fb0ee2cd6752d9188bd2578cc3d9a7a2e
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M clang-tools-extra/clangd/XRefs.cpp

  Log Message:
  -----------
  [clangd] Support typeHierarchy/resolve for children of parents as well

Summary:
The initial implementation of typeHierarchy/resolve only supported
cases where an initial request was made for children, and then
typeHierarchy/resolve was used to get additional levels of children.

However, a client may also want to make an initial request for
parents, and then show other children of those parents, so support
typeHierarchy/resolve for items returned in response to a request
for parents as well.

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81845




More information about the All-commits mailing list