This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] Replace the size() helper with SectionTableRef::size
ClosedPublic

Authored by MaskRay on Mar 30 2019, 1:44 AM.

Details

Summary

BTW, STLExtras.h provides llvm::size() which is similar to std::size()
for random access iterators. However, if we prefer qualified
llvm::size(), the member function .size() will be more convenient.

Diff Detail

Event Timeline

MaskRay created this revision.Mar 30 2019, 1:44 AM
grimar accepted this revision.Mar 30 2019, 4:41 AM

LGTM

This revision is now accepted and ready to land.Mar 30 2019, 4:41 AM
This revision was automatically updated to reflect the committed changes.