[PATCH] D142014: [clangd] fix wrong CalleeArgInfo in the hover
Vincent Hong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 23 10:42:52 PST 2023
v1nh1shungry added inline comments.
================
Comment at: clang-tools-extra/clangd/Hover.cpp:1035
} else if (const auto *MTE =
CastNode->ASTNode.get<MaterializeTemporaryExpr>()) {
} else { // Unknown implicit node, assume type conversion.
----------------
tom-anders wrote:
> This branch is now empty, do we still need it?
I keep this branch because the original implementation doesn't want to mark `Converted` in this branch. Yeah I can modify the following `else` to `else if (const ...; !MTE)` (or something cleaner), but I think the two are the same ugly :(
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142014/new/
https://reviews.llvm.org/D142014
More information about the cfe-commits
mailing list