[libTooling] Move Transformer files to their own directory/library.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Thu, 10 Oct 2019 02:34:47 +0000 (02:34 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Thu, 10 Oct 2019 02:34:47 +0000 (02:34 +0000)
commitfbdf83521b17c4683e4f819587000bbce71d928b
tree729317d14b678ab28d26557e4d46478783435cc4
parent79a8476d4363912553d5165a055601bcd417e8ff
[libTooling] Move Transformer files to their own directory/library.

Summary:
The Transformer library has been growing inside of
lib/Tooling/Refactoring. However, it's not really related to anything else in
that directory. This revision moves all Transformer-related files into their own
include & lib directories.  A followup revision will (temporarily) add
forwarding headers to help any users migrate their code to the new location.

Reviewers: gribozavr

Subscribers: mgorny, cfe-commits

Tags: #clang

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

llvm-svn: 374271
35 files changed:
clang-tools-extra/clang-tidy/utils/CMakeLists.txt
clang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.h
clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
clang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
clang/include/clang/Tooling/Refactoring/MatchConsumer.h [deleted file]
clang/include/clang/Tooling/Refactoring/RangeSelector.h [deleted file]
clang/include/clang/Tooling/Refactoring/SourceCode.h [deleted file]
clang/include/clang/Tooling/Refactoring/SourceCodeBuilders.h [deleted file]
clang/include/clang/Tooling/Refactoring/Stencil.h [deleted file]
clang/include/clang/Tooling/Refactoring/Transformer.h [deleted file]
clang/include/clang/Tooling/Transformer/MatchConsumer.h [new file with mode: 0644]
clang/include/clang/Tooling/Transformer/RangeSelector.h [new file with mode: 0644]
clang/include/clang/Tooling/Transformer/SourceCode.h [new file with mode: 0644]
clang/include/clang/Tooling/Transformer/SourceCodeBuilders.h [new file with mode: 0644]
clang/include/clang/Tooling/Transformer/Stencil.h [new file with mode: 0644]
clang/include/clang/Tooling/Transformer/Transformer.h [new file with mode: 0644]
clang/lib/Tooling/CMakeLists.txt
clang/lib/Tooling/Refactoring/CMakeLists.txt
clang/lib/Tooling/Refactoring/RangeSelector.cpp [deleted file]
clang/lib/Tooling/Refactoring/SourceCode.cpp [deleted file]
clang/lib/Tooling/Refactoring/SourceCodeBuilders.cpp [deleted file]
clang/lib/Tooling/Refactoring/Stencil.cpp [deleted file]
clang/lib/Tooling/Refactoring/Transformer.cpp [deleted file]
clang/lib/Tooling/Transformer/CMakeLists.txt [new file with mode: 0644]
clang/lib/Tooling/Transformer/RangeSelector.cpp [new file with mode: 0644]
clang/lib/Tooling/Transformer/SourceCode.cpp [new file with mode: 0644]
clang/lib/Tooling/Transformer/SourceCodeBuilders.cpp [new file with mode: 0644]
clang/lib/Tooling/Transformer/Stencil.cpp [new file with mode: 0644]
clang/lib/Tooling/Transformer/Transformer.cpp [new file with mode: 0644]
clang/unittests/Tooling/CMakeLists.txt
clang/unittests/Tooling/RangeSelectorTest.cpp
clang/unittests/Tooling/SourceCodeBuildersTest.cpp
clang/unittests/Tooling/SourceCodeTest.cpp
clang/unittests/Tooling/StencilTest.cpp
clang/unittests/Tooling/TransformerTest.cpp