This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Support iterating size-based integer ranges.
ClosedPublic

Authored by kosarev on Jul 24 2023, 8:23 AM.

Details

Summary

It seems the ranges start with 0 in most cases.

Diff Detail

Event Timeline

kosarev created this revision.Jul 24 2023, 8:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2023, 8:23 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
kosarev requested review of this revision.Jul 24 2023, 8:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2023, 8:23 AM
dblaikie accepted this revision.Jul 24 2023, 1:52 PM

SGTM - might be nice to add some simple unit test coverage too

This revision is now accepted and ready to land.Jul 24 2023, 1:52 PM
gchatelet accepted this revision.Jul 25 2023, 4:59 AM

LGTM
Agreed w/ dblaikie@ : a small test could help.

kosarev updated this revision to Diff 543935.Jul 25 2023, 5:36 AM

Add a test.

This revision was landed with ongoing or failed builds.Jul 26 2023, 8:28 AM
This revision was automatically updated to reflect the committed changes.