[PATCH] D72498: [clangd] Print underlying type for decltypes in hover
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 10 04:33:13 PST 2020
ilya-biryukov added a comment.
This does not work for more complicated types, though?
E.g. `decltype(a+b)* a` or `vector<decltype(a+b)> a`?
Why do we prefer to drop `decltype()`, yet show the typedefs? Both could lead to complicated types, arguably decltypes can be even worse than typedefs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72498/new/
https://reviews.llvm.org/D72498
More information about the cfe-commits
mailing list