diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-05-29 12:40:36 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-05-29 12:40:36 +0000 |
commit | e1312c54d3dc2aa8820a505de460939a2042050d (patch) | |
tree | 3ff950e82cbcc5d4b442889bb142dde8fa014696 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 33da02762fe129f8167924892000295991b6daf3 (diff) | |
download | llvm-e1312c54d3dc2aa8820a505de460939a2042050d.zip llvm-e1312c54d3dc2aa8820a505de460939a2042050d.tar.gz llvm-e1312c54d3dc2aa8820a505de460939a2042050d.tar.bz2 |
[LibTooling] Add `before` and `after` selectors for selecting point-ranges relative to nodes.
Summary:
The `before` and `after` selectors allow users to specify a zero-length range --
a point -- at the relevant location in an AST-node's source. Point ranges can
be useful, for example, to insert a change using an API that takes a range to be
modified (e.g. `tooling::change()`).
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62419
llvm-svn: 361955
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions