This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Use `llvm::enumerate` in llvm/unittests/Object
ClosedPublic

Authored by barannikov88 on Jan 15 2023, 3:39 AM.

Diff Detail

Event Timeline

barannikov88 created this revision.Jan 15 2023, 3:39 AM
barannikov88 requested review of this revision.Jan 15 2023, 3:39 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 15 2023, 3:39 AM

Rebase onto main

MaskRay accepted this revision.Jan 15 2023, 6:27 PM

non-reference auto shall work better in these cases.

This revision is now accepted and ready to land.Jan 15 2023, 6:27 PM

non-reference auto shall work better in these cases.

Not sure why? Won't Data be copied every iteration?

Use auto instead of const auto &
Rebase

This revision was landed with ongoing or failed builds.Jan 16 2023, 4:59 AM
This revision was automatically updated to reflect the committed changes.