llvm-project/clang-tools-extra/clangd/refactor
Kadir Cetinkaya 5b270932cc [clangd] Support multifile edits as output of Tweaks
Summary:
First patch for propogating multifile changes from tweak outputs to LSP
WorkspaceEdits.

Uses SM to convert tooling::Replacements to TextEdits.
Errors out if there are any inconsistencies between the draft version and the
version generated the edits.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66637

llvm-svn: 371392
2019-09-09 12:28:44 +00:00
..
tweaks [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
Rename.cpp [clangd] Remove macro-expansion-location from getBeginningOfIdentifier. Inline into relevant callsites. NFC 2019-09-04 10:15:27 +00:00
Rename.h [clangd] Move getBeginningOfIdentifier from ClangdUnit to SourceCode. Drop dependencies on ClangdUnit from some headers. NFC 2019-09-03 15:34:47 +00:00
Tweak.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
Tweak.h [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00