[PATCH] D69934: [clangd] Implement rename by using SelectionTree and findExplicitReferences.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 7 01:26:42 PST 2019
hokein created this revision.
hokein added a reviewer: ilya-biryukov.
Herald added subscribers: usaxena95, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
With the new implemenation, we will have better coverage of various AST
nodes, and fix some known/potential bugs.
Aslo added the existing clang-renamae tests, it should not introduce any
regressions.
This fixes:
- https://github.com/clangd/clangd/issues/167
- https://github.com/clangd/clangd/issues/169
- https://github.com/clangd/clangd/issues/171
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69934
Files:
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/refactor/Rename.cpp
clang-tools-extra/clangd/unittests/RenameTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69934.228188.patch
Type: text/x-patch
Size: 16601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191107/2ad5013f/attachment.bin>
More information about the cfe-commits
mailing list