diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2019-11-06 15:04:48 +0100 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2019-11-18 16:16:47 +0100 |
commit | 4f80fc2491cc35730a9a84b86975278b7daa8522 (patch) | |
tree | 0df546d79bc50d2685fabc1a6459e7b8b91c4103 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | aea7578fade2563cb5ea60548914667b515c457a (diff) | |
download | bcm5719-llvm-4f80fc2491cc35730a9a84b86975278b7daa8522.tar.gz bcm5719-llvm-4f80fc2491cc35730a9a84b86975278b7daa8522.zip |
[clangd] Implement rename by using SelectionTree and findExplicitReferences.
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:
- https://github.com/clangd/clangd/issues/167
- https://github.com/clangd/clangd/issues/169
- https://github.com/clangd/clangd/issues/171
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69934
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions