The file path was set to the file content previously, and it isn't
covered by normal clangd & unittest code path (as we only uses the
offset, length, replacement text).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D70828
[clangd] Correct the file path in Edit::replacements when generating the rename edit. ClosedPublic Authored by hokein on Nov 28 2019, 7:54 AM.
Details Summary The file path was set to the file content previously, and it isn't
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 28 2019, 9:33 AM Closed by commit rG66ab932fcc10: [clangd] Correct the file path in Edit::replacements when generating the rename… (authored by hokein). · Explain WhyNov 29 2019, 1:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 231491 clang-tools-extra/clangd/refactor/Rename.h
clang-tools-extra/clangd/refactor/Rename.cpp
clang-tools-extra/clangd/unittests/RenameTests.cpp
|