[all-commits] [llvm/llvm-project] 8712df: [clangd] references: decls of overrides of x are r...

Sam McCall via All-commits all-commits at lists.llvm.org
Mon Feb 1 08:19:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8712df7a621d1d00a3fd4641ef72639a8faa6284
      https://github.com/llvm/llvm-project/commit/8712df7a621d1d00a3fd4641ef72639a8faa6284
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/index/Index.h
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp

  Log Message:
  -----------
  [clangd] references: decls of overrides of x are refs to x, not decls

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

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




More information about the All-commits mailing list