[all-commits] [llvm/llvm-project] d9d9a2: [clangd] Use index for go-to-type

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Jul 21 14:11:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9d9a2cb2f0db7a92eb7d5ef0c619fb41aa5c8a8
      https://github.com/llvm/llvm-project/commit/d9d9a2cb2f0db7a92eb7d5ef0c619fb41aa5c8a8
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

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

  Log Message:
  -----------
  [clangd] Use index for go-to-type

This ensures it finds the definition even if not visible.

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




More information about the All-commits mailing list