hanchenye-llvm-project/clang-tools-extra/clang-apply-replacements
Edwin Vane c0f00b79f7 clang-modernize: Apply replacements using clang-apply-replacements
Summary:
The clang-apply-replacements process is now invoked to apply
replacements between applying transforms. This resulted in a massive
simplification of the tool:
- FileOverrides class no longer needed.
- Change tracking and code formatting no longer needed.
- No more dependency on libclangApplyReplacements.
- Final syntax check is easier to do directly now than with a separate
  header/source pair.

Replacement handling stuff abstracted into a new header/source pair to
de-clutter ClangModernize.cpp somewhat.

Tests updated.

Differential Revision: http://llvm-reviews.chandlerc.com/D1836

llvm-svn: 192032
2013-10-05 12:15:58 +00:00
..
include/clang-apply-replacements/Tooling clang-apply-replacements: Add code formatting functionality 2013-09-30 13:59:21 +00:00
lib/Tooling clang-apply-replacements: Add code formatting functionality 2013-09-30 13:59:21 +00:00
tool clang-modernize: Apply replacements using clang-apply-replacements 2013-10-05 12:15:58 +00:00
CMakeLists.txt clang-apply-replacements: Add code formatting functionality 2013-09-30 13:59:21 +00:00
Makefile