[LibTooling] Add Transformer, a library for source-to-source transformations.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 5 Apr 2019 15:14:05 +0000 (15:14 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 5 Apr 2019 15:14:05 +0000 (15:14 +0000)
commitfdd98782aaaba83f133af8bd1d115414c3db3425
tree08763a5d6528edbde925ff3564921bb2045f8517
parent1d8c9dfe03d4fa70c3292ec58d8118c5ad518d69
[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: ioeric, ABataev, mgorny, jfb, jdoerfert, cfe-commits

Tags: #clang

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

llvm-svn: 357768
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]