[PATCH] D92041: [clangd] Add hover info for `this` expr
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 26 05:09:41 PST 2020
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
thanks, LGTM!
================
Comment at: clang-tools-extra/clangd/Hover.cpp:644
+ const NamedDecl *D = CTE->getType()->getPointeeType()->getAsTagDecl();
+ HI = getHoverContents(D, Index);
+ return HI;
----------------
nit: `return getHoverContents(D, Index);`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92041/new/
https://reviews.llvm.org/D92041
More information about the cfe-commits
mailing list