[clangd] Trivial setter support when moving items to fields
authorNathan James <n.james93@hotmail.co.uk>
Tue, 29 Sep 2020 20:51:14 +0000 (21:51 +0100)
committerNathan James <n.james93@hotmail.co.uk>
Tue, 29 Sep 2020 20:51:15 +0000 (21:51 +0100)
commit01a30fa6787d8375e1df573150f9927561b0a0f1
tree9a350dad421c38101447c2b8e203d1ef1a7d872b
parent155d2d5300551c6ac26eaeef259d73d62f939d0b
[clangd] Trivial setter support when moving items to fields

Extend the Trivial setter documentation to support cases where the value is moved into a field using `std::move`.

Reviewed By: sammccall, kadircet

Differential Revision: https://reviews.llvm.org/D88297
clang-tools-extra/clangd/Hover.cpp
clang-tools-extra/clangd/unittests/HoverTests.cpp