[all-commits] [llvm/llvm-project] 6831c1: [clangd] Include refs of base method in refs for d...

Utkarsh Saxena via All-commits all-commits at lists.llvm.org
Tue Oct 5 08:40:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6831c1d8689bebe745aac1fdd7354c2e2f692c1a
      https://github.com/llvm/llvm-project/commit/6831c1d8689bebe745aac1fdd7354c2e2f692c1a
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

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

  Log Message:
  -----------
  [clangd] Include refs of base method in refs for derived method.

Addresses https://github.com/clangd/clangd/issues/881

Includes refs of base class method in refs of derived class method.
Previously we reported base class method's refs only for decl of derived
class method. Ideally this should work for all usages of derived class method.

Related patch:
https://github.com/llvm/llvm-project/commit/fbeff2ec2bc6e44b92931207b0063f83ff7a3b3a.

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




More information about the All-commits mailing list