[all-commits] [llvm/llvm-project] c1a00b: [clangd] show layout info when hovering on a class...

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Apr 8 04:41:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c1a00b89add8f4f9658f631a4fa2cb8a068eef57
      https://github.com/llvm/llvm-project/commit/c1a00b89add8f4f9658f631a4fa2cb8a068eef57
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

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

  Log Message:
  -----------
  [clangd] show layout info when hovering on a class/field definition.

Summary:
This triggers only on the definition itself, not on references (probably too
noisy). Inspecting the definition seems like a decent hint for being interested
in layout.

Reviewers: kadircet

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

Tags: #clang

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




More information about the All-commits mailing list