HomePhabricator

[COFF] Use Expected in COFFObjectFile creation

Authored by rnk on Fri, May 8, 1:58 PM.

Description

[COFF] Use Expected in COFFObjectFile creation

The constructor error out parameter was a bit awkward. Wrap it in a
factory method which can return an error. Make the constructor private.

Details

Committed
rnkFri, May 8, 2:22 PM
Parents
rG77ecf90c5264: [COFF] Migrate COFFObjectFile to Expected<T>
Branches
Unknown
Tags
Unknown