[PATCH] D69896: [libTooling] Small changes in Transformer API.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 6 07:59:28 PST 2019


ymandel created this revision.
ymandel added a reviewer: ilya-biryukov.
Herald added a project: clang.

- Rename `transformer::change` to `transformer::changeTo`, make `change` forward to `changeTo` and mark it deprecated.

- Mark `transformer::text` and `transformer::selection` deprecated and migrate references to them in tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69896

Files:
  clang/include/clang/Tooling/Transformer/RewriteRule.h
  clang/include/clang/Tooling/Transformer/Stencil.h
  clang/unittests/Tooling/TransformerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69896.228067.patch
Type: text/x-patch
Size: 14439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191106/07d8761b/attachment.bin>


More information about the cfe-commits mailing list