This is an archive of the discontinued LLVM Phabricator instance.

[libTooling] Add a `between` range-selector combinator.
ClosedPublic

Authored by ymandel on Jul 22 2020, 5:34 AM.

Details

Summary

Adds the between combinator and registers it with the parser. As a driveby, updates some deprecated names to their current versions.

Diff Detail

Event Timeline

ymandel created this revision.Jul 22 2020, 5:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2020, 5:34 AM
gribozavr2 accepted this revision.Jul 27 2020, 1:15 AM
gribozavr2 added inline comments.
clang/include/clang/Tooling/Transformer/RangeSelector.h
59

"Selects the range between the two ranges."

I don't think users care much that it is expressible in terms of other combinators.

This revision is now accepted and ready to land.Jul 27 2020, 1:15 AM
ymandel updated this revision to Diff 281268.Jul 28 2020, 9:54 AM

updated comment

ymandel marked an inline comment as done.Jul 28 2020, 9:55 AM
This revision was landed with ongoing or failed builds.Jul 28 2020, 10:26 AM
This revision was automatically updated to reflect the committed changes.