diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2020-07-24 13:27:51 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2020-07-24 14:38:17 +0000 |
commit | c332a984aefc6f8a6b44fd3687a5bbce3f8f035c (patch) | |
tree | cd8d5d8e4847fb7944e87a9c4dc1a4eb30c19d22 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 4ef2e594d5be2e0e6d4446c8082b15466bc7ffcb (diff) | |
download | llvm-c332a984aefc6f8a6b44fd3687a5bbce3f8f035c.zip llvm-c332a984aefc6f8a6b44fd3687a5bbce3f8f035c.tar.gz llvm-c332a984aefc6f8a6b44fd3687a5bbce3f8f035c.tar.bz2 |
[libTooling] Add an `EditGenerator` that applies a rule throughout a bound node.
The new combinator, `rewriteDescendants`, applies a rewrite rule to all
descendants of a specified bound node. That rewrite rule can refer to nodes
bound by the parent, both in the matcher and in the edits.
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D84409
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions