[PATCH] D64912: [Clangd] Changed ExtractVariable to only work on non empty selections

Shaurya Gupta via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 18 08:16:25 PDT 2019


SureYeaah updated this revision to Diff 210577.
SureYeaah added a comment.

Added SelectionBegin and SelectionEnd to Tweak::Selection


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64912/new/

https://reviews.llvm.org/D64912

Files:
  clang-tools-extra/clangd/refactor/Tweak.cpp
  clang-tools-extra/clangd/refactor/Tweak.h
  clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
  clang-tools-extra/clangd/unittests/TweakTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64912.210577.patch
Type: text/x-patch
Size: 6332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190718/8bc9677f/attachment-0001.bin>


More information about the cfe-commits mailing list