Refactor cross file rename to use a Filesystem instead of a function for getting buffer contents of open files.
Depends on D94554
Paths
| Differential D95043
[clangd] Use Dirty Filesystem for cross file rename. ClosedPublic Authored by njames93 on Jan 20 2021, 6:22 AM.
Details Summary Refactor cross file rename to use a Filesystem instead of a function for getting buffer contents of open files. Depends on D94554
Diff Detail
Event TimelineHerald added subscribers: usaxena95, arphaman, javed.absar. · View Herald TranscriptJan 20 2021, 6:22 AM Comment Actions This looks pretty good, great cleanup!
This revision is now accepted and ready to land.Mar 9 2021, 12:21 AM
Comment Actions Update to assert that either Index and FS are both set, or neither set. Closed by commit rG7044f1d875e3: [clangd] Use Dirty Filesystem for cross file rename. (authored by njames93). · Explain WhyMar 10 2021, 5:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 329630 clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/refactor/Rename.h
clang-tools-extra/clangd/refactor/Rename.cpp
clang-tools-extra/clangd/unittests/RenameTests.cpp
|
we shouldn't need to pass a nontrivial FS in here, right?