[PATCH] D62149: [LibTooling] Update Transformer to use RangeSelector instead of NodePart enum.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 20 08:43:27 PDT 2019


ymandel created this revision.
ymandel added a reviewer: ilya-biryukov.
Herald added a project: clang.
ymandel updated this revision to Diff 200310.
ymandel added a comment.

reordered some declarations.


Transformer provides an enum to indicate the range of source text to be edited.
That support is now redundant with the new (and more general) RangeSelector
library, so we remove the custom enum support in favor of supporting any
RangeSelector.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62149

Files:
  clang/include/clang/Tooling/Refactoring/Transformer.h
  clang/lib/Tooling/Refactoring/Transformer.cpp
  clang/unittests/Tooling/TransformerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62149.200310.patch
Type: text/x-patch
Size: 18699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190520/556f4fe4/attachment-0001.bin>


More information about the cfe-commits mailing list