[PATCH] D89238: [clangd] Go-to-definition from non-renaming alias is unambiguous.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 12 07:23:10 PDT 2020


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

It's not helpful to show the alias itself as an option.
This fixes a regression accepted in f24649b77d856157c64841457dcc4f70530d607c <https://reviews.llvm.org/rGf24649b77d856157c64841457dcc4f70530d607c>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89238

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89238.297581.patch
Type: text/x-patch
Size: 4702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201012/511d11b8/attachment.bin>


More information about the cfe-commits mailing list