This is an archive of the discontinued LLVM Phabricator instance.

Add range based wrapper around std::for_each.
AbandonedPublic

Authored by kpw on Sep 2 2017, 6:08 PM.

Details

Reviewers
zturner
chandlerc
Summary

There are a few range based wrappers llvm provides already. They're handy and I
couldn't find one for std::for_each, so I'm adding it.

Event Timeline

kpw created this revision.Sep 2 2017, 6:08 PM
kpw added a comment.Sep 5 2017, 8:43 AM

David Blakie convinced me over email that std::for_each doesn't add value over ranged based for.

kpw abandoned this revision.Sep 5 2017, 8:43 AM