[PATCH] D77419: [libTooling] Simplify the representation of Transformer's RewriteRules.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 11:20:24 PDT 2020
ymandel created this revision.
ymandel added a reviewer: gribozavr2.
Herald added a subscriber: jfb.
Herald added a project: clang.
This revision simplifies the representation of edits in rewrite rules. The
simplified form is more general, allowing the user more flexibility in building
custom edit specifications.
The changes extend the API, without changing the signature of existing
functions. So this only risks breaking users that directly accessed the
`RewriteRule` struct.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77419
Files:
clang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
clang/include/clang/Tooling/Transformer/RewriteRule.h
clang/lib/Tooling/Transformer/RewriteRule.cpp
clang/lib/Tooling/Transformer/Transformer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77419.254859.patch
Type: text/x-patch
Size: 9877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200403/0c4b2ff9/attachment-0001.bin>
More information about the cfe-commits
mailing list