[PATCH] D91134: [clangd] Abort rename when given the same name
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 11 01:11:07 PST 2020
hokein accepted this revision.
hokein added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/unittests/RenameTests.cpp:780
+ void func() {
+ int V^ar;
+ }
----------------
Add a comment or rename `Var` => `SameName`, to make the "new_name == old_name" more explicitly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91134/new/
https://reviews.llvm.org/D91134
More information about the cfe-commits
mailing list