[PATCH] D142014: [clangd] fix wrong CalleeArgInfo in the hover
Vincent Hong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 18 06:28:50 PST 2023
v1nh1shungry created this revision.
v1nh1shungry added reviewers: tom-anders, nridge.
Herald added subscribers: kadircet, arphaman.
Herald added a project: All.
v1nh1shungry requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
void foobar(int);
int main() {
foobar(1 + 2);
^
}
Currently the CalleeArgInfo will be "Passed by reference", which should
be "Passed by value".
Fixes https://github.com/clangd/clangd/issues/1467
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142014
Files:
clang-tools-extra/clangd/Hover.cpp
clang-tools-extra/clangd/unittests/HoverTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142014.490131.patch
Type: text/x-patch
Size: 5749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230118/11cb802f/attachment-0001.bin>
More information about the cfe-commits
mailing list