1. [clangd] Implement rename by using SelectionTree and (details)
Commit 4f80fc2491cc35730a9a84b86975278b7daa8522 by hokein.wu
[clangd] Implement rename by using SelectionTree and
Summary: With the new implemenation, we will have better coverage of
various AST nodes, and fix some known/potential bugs.
Also added the existing clang-renamae tests. Known changed behavior:
- "~Fo^o()" will not trigger the rename, will fix afterwards
- references in macro bodies are not renamed now
This fixes:
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95,
Tags: #clang
Differential Revision:
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp