Refactor libTooling to reduce required dependencies.
authorDaniel Jasper <djasper@google.com>
Wed, 29 Oct 2014 18:55:09 +0000 (18:55 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 29 Oct 2014 18:55:09 +0000 (18:55 +0000)
commitcb3e6188bcda28459a60a09758ff488f086b4114
treec76302e4fc4d94abfb15f13d8ca18c6f652c01a5
parentce2164f45c5f1930d2c29df2e06128408e74bbfc
Refactor libTooling to reduce required dependencies.

This moves classes for storing and applying replacements to separate
files. These classes specifically are used by clang-format which doesn't
have any other dependencies on clangAST. Thereby, the size of
clang-format's binary can be cut roughly in half and its build time sped
up.

llvm-svn: 220867
15 files changed:
clang/include/clang/Tooling/Core/Replacement.h [new file with mode: 0644]
clang/include/clang/Tooling/Refactoring.h
clang/lib/Format/CMakeLists.txt
clang/lib/Tooling/CMakeLists.txt
clang/lib/Tooling/Core/CMakeLists.txt [new file with mode: 0644]
clang/lib/Tooling/Core/Makefile [new file with mode: 0644]
clang/lib/Tooling/Core/Replacement.cpp [new file with mode: 0644]
clang/lib/Tooling/Makefile
clang/lib/Tooling/Refactoring.cpp
clang/tools/clang-format/CMakeLists.txt
clang/tools/clang-format/Makefile
clang/tools/libclang/Makefile
clang/unittests/Format/CMakeLists.txt
clang/unittests/Format/Makefile
clang/unittests/Tooling/Makefile