[all-commits] [llvm/llvm-project] 220d85: [clangd] Fix hover on symbol introduced by using d...

Tom Praschan via All-commits all-commits at lists.llvm.org
Thu Sep 15 02:03:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 220d850823494aad48d984395512e2ac74c666de
      https://github.com/llvm/llvm-project/commit/220d850823494aad48d984395512e2ac74c666de
  Author: Tom Praschan <13141438+tom-anders at users.noreply.github.com>
  Date:   2022-09-15 (Thu, 15 Sep 2022)

  Changed paths:
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp

  Log Message:
  -----------
  [clangd] Fix hover on symbol introduced by using declaration

This fixes https://github.com/clangd/clangd/issues/1284. The example
there was C++20's "using enum", but I noticed that we had the same issue
for other using-declarations.

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




More information about the All-commits mailing list