[PATCH] D69511: [clangd] Do not report anonymous entities in findExplicitReferences

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 06:33:37 PDT 2019


ilya-biryukov added a comment.

Stumbled upon it when trying to move semantic highlight to use `findExplicitReferences`.
This will create some trouble for D68937 <https://reviews.llvm.org/D68937>, but I believe it's actually worth it. `NameLoc` was never intended to point outside the name token.

We should be better off without anonymous names here in the long run.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69511





More information about the cfe-commits mailing list