[all-commits] [llvm/llvm-project] 1fbb1d: [clangd] Drop returntype/type when hovering over t...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Jan 21 08:10:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fbb1d6df0113ca341f6d257bc72e07343dd861a
      https://github.com/llvm/llvm-project/commit/1fbb1d6df0113ca341f6d257bc72e07343dd861a
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

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

  Log Message:
  -----------
  [clangd] Drop returntype/type when hovering over type-ish names

Summary:
Some names, e.g. constructor/destructor/conversions, already contain
the type info, no need to duplicate them in the hoverinfo.

Fixes https://github.com/clangd/clangd/issues/252

Reviewers: sammccall, ilya-biryukov

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

Tags: #clang

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




More information about the All-commits mailing list