This is an archive of the discontinued LLVM Phabricator instance.

Simplify writeArchive return type.
ClosedPublic

Authored by ruiu on Aug 30 2017, 2:42 PM.

Details

Summary

writeArchive returned a pair, but the first element of the pair is always
its first argument on failure, so it doesn't make sense to return it from
the function. This patch change the return type so that it does't return it.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Aug 30 2017, 2:42 PM
pcc accepted this revision.Aug 30 2017, 2:47 PM

LGTM

This revision is now accepted and ready to land.Aug 30 2017, 2:47 PM
This revision was automatically updated to reflect the committed changes.