Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clangd] Fix rename for symbol introduced by UsingDecl
Fixes clangd/clangd#170 This patch actually consists of 2 fixes: 1) Add handling for UsingShadowDecl to canonicalRenameDecl(). This fixes the issue described in clangd/clangd#170. 2) Avoid the "there are multiple symbols under the cursor error" by applying similar logic as in https://reviews.llvm.org/D133664. This also partly fixes clangd/clangd#586. Differential Revision: https://reviews.llvm.org/D135489
- Loading branch information
1 parent
5593d36
commit ac21938
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters