Introducing new tool clang-replace
authorEdwin Vane <edwin.vane@intel.com>
Thu, 22 Aug 2013 13:07:14 +0000 (13:07 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Thu, 22 Aug 2013 13:07:14 +0000 (13:07 +0000)
commit3bf14cebee461f4f6be4164f366a301e4f789f81
tree0bff4b37a5896386f3f06ce1c42177feac44d40f
parent1c34afcb613f8eafcb9e40b492fbcb743b4fb94c
Introducing new tool clang-replace

Introducing new tool 'clang-replace' that finds files containing
serialized Replacements and applies those changes after deduplication
and detecting conflicts.

Currently the tool does not apply changes. It stops just after the
deduplication and conflict report phase. Forthcoming patches will
complete functionality.

Both build systems updated for new tool.

Includes a conflict test case.

clang-replace added to Doxygen build.

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

llvm-svn: 189008
17 files changed:
clang-tools-extra/CMakeLists.txt
clang-tools-extra/Makefile
clang-tools-extra/clang-replace/ApplyReplacements.cpp [new file with mode: 0644]
clang-tools-extra/clang-replace/ApplyReplacements.h [new file with mode: 0644]
clang-tools-extra/clang-replace/CMakeLists.txt [new file with mode: 0644]
clang-tools-extra/clang-replace/Makefile [new file with mode: 0644]
clang-tools-extra/clang-replace/tool/CMakeLists.txt [new file with mode: 0644]
clang-tools-extra/clang-replace/tool/ClangReplaceMain.cpp [new file with mode: 0644]
clang-tools-extra/clang-replace/tool/Makefile [new file with mode: 0644]
clang-tools-extra/docs/Doxyfile
clang-tools-extra/test/CMakeLists.txt
clang-tools-extra/test/clang-replace/conflict.cpp [new file with mode: 0644]
clang-tools-extra/test/clang-replace/conflict/common.h [new file with mode: 0644]
clang-tools-extra/test/clang-replace/conflict/expected.txt [new file with mode: 0644]
clang-tools-extra/test/clang-replace/conflict/file1.yaml [new file with mode: 0644]
clang-tools-extra/test/clang-replace/conflict/file2.yaml [new file with mode: 0644]
clang-tools-extra/test/clang-replace/conflict/file3.yaml [new file with mode: 0644]