[PATCH] D95451: [clangd] references: decls of overrides of x are refs to x, not decls

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 08:58:46 PST 2021


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

This requires a second index query for refs to overrides, as the refs
call doesn't tell you which ref points at which symbol.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95451

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95451.319318.patch
Type: text/x-patch
Size: 5335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210126/5aba5f3b/attachment.bin>


More information about the cfe-commits mailing list