[PATCH] D72498: [clangd] Print underlying type for decltypes in hover
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 10 03:46:24 PST 2020
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/Hover.cpp:351
+ // TypePrinter doesn't resolve decltypes, so resolve them here. We are going
+ // to include decltype(X) info in `HoverInfo::Definition` anyway.
+ if (auto *DT = QT->getAs<DecltypeType>())
----------------
nit: going to include the spelling "decltype(X)" in ...
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