[PATCH] D86861: [clangd] Handle templates more consistently in type hierarchy

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 31 00:02:05 PDT 2020


nridge created this revision.
nridge added a reviewer: hokein.
Herald added subscribers: cfe-commits, danielkiss, usaxena95, kadircet, arphaman, jkorous.
Herald added a project: clang.
nridge requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.

If the tree includes types derived from all specializations of
a template, do not misleadingly label the root node with the
name of a single specialization.

Fixes https://github.com/clangd/clangd/issues/507


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86861

Files:
  clang-tools-extra/clangd/XRefs.cpp
  clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86861.288895.patch
Type: text/x-patch
Size: 4764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200831/77a6dd2a/attachment.bin>


More information about the cfe-commits mailing list