[clangd] Show hower info for expressions
authorKadir Cetinkaya <kadircet@google.com>
Fri, 10 Jan 2020 12:11:09 +0000 (13:11 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Wed, 15 Jan 2020 14:14:37 +0000 (15:14 +0100)
commit4d14bfaa2cb1610104db6b0818fc7d74fad1bd8f
treed6a1a0b10abc60697c8a3959be094dce3ba667ae
parent870137d207f7a5596206e2210183d911a9b06f9d
[clangd] Show hower info for expressions

Summary:
This currently populates only the Name with the expression's type and
Value if expression is evaluatable.

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

Reviewers: sammccall

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72500
clang-tools-extra/clangd/Hover.cpp
clang-tools-extra/clangd/unittests/HoverTests.cpp