[PATCH] D72500: [clangd] Show hower info for expressions
liu hui via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 11 20:14:46 PST 2020
lh123 added a comment.
In D72500#1813975 <https://reviews.llvm.org/D72500#1813975>, @sammccall wrote:
> I think we should avoid triggering for literals. Maybe some exceptions, but a hover saying that 0 is an int with value 0 seems silly.
Yes, hovering over `IntegerLiteral/FloatingLiteral` may be useless, but I think it's useful when hovering over `StringLiteral/UserDefinedLiteral`.
+ hovering over "hello" show `char [6]`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72500/new/
https://reviews.llvm.org/D72500
More information about the cfe-commits
mailing list