[clangd] Add support for within-file rename of complicated fields
authorKirill Bobyrev <kbobyrev@google.com>
Fri, 27 Nov 2020 02:59:24 +0000 (03:59 +0100)
committerKirill Bobyrev <kbobyrev@google.com>
Fri, 27 Nov 2020 02:59:28 +0000 (03:59 +0100)
commitabfcb606c2f86da6dbf25bc260e4d716bc87eaf0
tree09585c9f5cfce952d18d25f4b221cdbeed3d34c0
parent4d83aba4228ecb7dfefaf10a36a35f7299467819
[clangd] Add support for within-file rename of complicated fields

This was originally a part of D71880 but is separated for simplicity and ease
of reviewing.

Fixes: https://github.com/clangd/clangd/issues/582

Reviewed By: hokein

Differential Revision: https://reviews.llvm.org/D91952
clang-tools-extra/clangd/refactor/Rename.cpp
clang-tools-extra/clangd/unittests/RenameTests.cpp