[PATCH] D88634: [clangd] Extend the rename API.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 2 05:34:55 PDT 2020
sammccall accepted this revision.
sammccall added a comment.
LG, thanks!
================
Comment at: clang-tools-extra/clangd/refactor/Rename.h:62
+ // Edits for the current main file.
+ Edit LocalChanges;
+ // Complete edits for the rename, including LocalChanges.
----------------
this could just be a vector<Range>, as we don't have a use case for the replacements and it avoids the issue of what to replace with. Up to you though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88634/new/
https://reviews.llvm.org/D88634
More information about the cfe-commits
mailing list