This is an archive of the discontinued LLVM Phabricator instance.

[unittests/Object] - Simplify the code in ELFObjectFileTest.cpp, NFCI.
ClosedPublic

Authored by grimar on Aug 26 2020, 7:41 AM.

Details

Summary

This refactors/rewrites the code to remove duplication.

Diff Detail

Event Timeline

grimar created this revision.Aug 26 2020, 7:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 26 2020, 7:41 AM
grimar requested review of this revision.Aug 26 2020, 7:41 AM
jhenderson accepted this revision.Aug 27 2020, 1:04 AM

LGTM, thanks.

P.S. For some reason, Phabricator's emailing behaviour appears to have recently changed, so I wasn't getting emails on new review requests. Please ping any others you need me to review!

This revision is now accepted and ready to land.Aug 27 2020, 1:04 AM

P.S. For some reason, Phabricator's emailing behaviour appears to have recently changed, so I wasn't getting emails on new review requests. Please ping any others you need me to review!

I think I have no unreviewed patches, thanks!