This is an archive of the discontinued LLVM Phabricator instance.

[ADT][NFC] Use `size_t` type for index in `indexed_accessor_range`
ClosedPublic

Authored by vinograd47 on Mar 4 2021, 1:42 AM.

Details

Summary

It makes it consistent with size() method return type and with
STL-like containers API.

Diff Detail

Unit TestsFailed

Event Timeline

vinograd47 created this revision.Mar 4 2021, 1:42 AM
vinograd47 requested review of this revision.Mar 4 2021, 1:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2021, 1:42 AM
rriddle accepted this revision.Mar 4 2021, 11:45 AM
This revision is now accepted and ready to land.Mar 4 2021, 11:45 AM

Fixed clang-tidy issues