[PATCH] Introducing new tool clang-replace

Edwin Vane edwin.vane at intel.com
Fri Aug 16 07:11:01 PDT 2013


Hi klimek, djasper, silvas, tareqsiraj, arielbernal, Sarcasm,

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.

Depends on D1422.

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

Files:
  CMakeLists.txt
  Makefile
  clang-replace/ApplyReplacements.cpp
  clang-replace/ApplyReplacements.h
  clang-replace/CMakeLists.txt
  clang-replace/Makefile
  clang-replace/tool/CMakeLists.txt
  clang-replace/tool/ClangReplaceMain.cpp
  clang-replace/tool/Makefile
  test/CMakeLists.txt
  test/clang-replace/conflict.cpp
  test/clang-replace/conflict/common.h
  test/clang-replace/conflict/expected.txt
  test/clang-replace/conflict/file1.yaml
  test/clang-replace/conflict/file2.yaml
  test/clang-replace/conflict/file3.yaml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1424.1.patch
Type: text/x-patch
Size: 18157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130816/16fb9b62/attachment.bin>


More information about the cfe-commits mailing list