This is an archive of the discontinued LLVM Phabricator instance.

[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
covered by normal clangd & unittest code path (as we only uses the
offset, length, replacement text).

Diff Detail

Event Timeline

hokein created this revision.Nov 28 2019, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2019, 7:54 AM
This revision is now accepted and ready to land.Nov 28 2019, 9:33 AM
This revision was automatically updated to reflect the committed changes.