[PATCH] D93227: [clangd] Smarter hover on auto and decltype
Quentin Chateau via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 14 08:36:15 PST 2020
qchateau created this revision.
Herald added subscribers: usaxena95, kadircet, arphaman.
qchateau requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.
Only show the keyword as the hover "Name".
Show whether the type is deduced or undeduced as
the hover "Documentation".
Show the deduced type (if any) as the "Definition".
Don't show any hover information for:
- the "auto" word of "decltype(auto)"
- "auto" in lambda parameters
- "auto" in template arguments
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93227
Files:
clang-tools-extra/clangd/Hover.cpp
clang-tools-extra/clangd/unittests/HoverTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93227.311606.patch
Type: text/x-patch
Size: 21823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201214/ba8e3008/attachment-0001.bin>
More information about the cfe-commits
mailing list