[PATCH] D84315: [libTooling] Add a `between` range-selector combinator.
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 01:15:29 PDT 2020
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/include/clang/Tooling/Transformer/RangeSelector.h:59
+/// Convenience constructor of the range between two ranges.
+inline RangeSelector between(RangeSelector R1, RangeSelector R2) {
----------------
"Selects the range between the two ranges."
I don't think users care much that it is expressible in terms of other combinators.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84315/new/
https://reviews.llvm.org/D84315
More information about the cfe-commits
mailing list