[all-commits] [llvm/llvm-project] 4c430a: [clangd] Do not report anonymous entities in findE...

Ilya Biryukov via All-commits all-commits at lists.llvm.org
Mon Oct 28 06:45:57 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c430a7c6f6b11105963c6a0ff1e6ee31517a1c8
      https://github.com/llvm/llvm-project/commit/4c430a7c6f6b11105963c6a0ff1e6ee31517a1c8
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M clang-tools-extra/clangd/FindTarget.cpp
    M clang-tools-extra/clangd/unittests/FindTargetTests.cpp

  Log Message:
  -----------
  [clangd] Do not report anonymous entities in findExplicitReferences

Summary:
Otherwise every client dealing with name location should handle
anonymous names in a special manner.

This seems too error-prone, clients can probably handle anonymous
entities they care about differently.

Reviewers: hokein

Reviewed By: hokein

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

Tags: #clang

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




More information about the All-commits mailing list