[LibTooling] Add Transformer, a library for source-to-source transformations.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Wed, 3 Apr 2019 13:05:19 +0000 (13:05 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Wed, 3 Apr 2019 13:05:19 +0000 (13:05 +0000)
commitd5856302f7e384cec65784abd3e70f8af2381add
tree142fcaca49c4a8f0ea62a08e7c0b0215c2a6792c
parentef93be84d33efa59667a1b58b75eac33b60d71b4
[LibTooling] Add Transformer, a library for source-to-source transformations.

Summary: Adds a basic version of Transformer, a library supporting the concise specification of clang-based source-to-source transformations.  A full discussion of the end goal can be found on the cfe-dev list with subject "[RFC] Easier source-to-source transformations with clang tooling".

Reviewers: ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: mgorny, jfb, jdoerfert, cfe-commits

Tags: #clang

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

llvm-svn: 357576
clang/include/clang/Tooling/Refactoring/Transformer.h [new file with mode: 0644]
clang/lib/Tooling/Refactoring/CMakeLists.txt
clang/lib/Tooling/Refactoring/Transformer.cpp [new file with mode: 0644]
clang/unittests/Tooling/CMakeLists.txt
clang/unittests/Tooling/TransformerTest.cpp [new file with mode: 0644]