hanchenye-llvm-project/clang-tools-extra/clangd/refactor/tweaks
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
..
AnnotateHighlightings.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
CMakeLists.txt [clangd] Fix ExtractFunction dependencies 2019-08-28 23:17:38 +00:00
DumpAST.cpp [clangd] SelectionTree treats TranslationUnitDecl (mostly) consistently with other containers. 2019-07-24 12:14:56 +00:00
ExpandAutoType.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
ExpandMacro.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
ExtractFunction.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
ExtractVariable.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
RawStringLiteral.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
SwapIfBranches.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00