[PATCH] D29622: Add a batch query and replace tool based on AST matchers.

Julian Bangert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 7 01:12:01 PST 2017


jbangert created this revision.
Herald added a subscriber: mgorny.

This requires https://reviews.llvm.org/D29613. It adds a new tool, clang-query-replace that replaces and AST node with the result of evaluating a simple template language.


https://reviews.llvm.org/D29622

Files:
  clang-query/CMakeLists.txt
  clang-query/QueryReplace.cpp
  clang-query/QueryReplace.h
  clang-query/replace-tool/CMakeLists.txt
  clang-query/replace-tool/ClangQueryReplace.cpp
  test/CMakeLists.txt
  test/clang-query/replacement.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29622.87373.patch
Type: text/x-patch
Size: 9658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170207/56f597d5/attachment.bin>


More information about the cfe-commits mailing list