Skip to content
Commit 82627648 authored by Lang Hames's avatar Lang Hames
Browse files

[Object] Make MachOObjectFile's constructor private, provide a static create

method instead.

This is not quite a named constructor: Construction may fail, and
MachOObjectFiles are usually passed by unique_ptr anyway, so create
returns an Expected<std::unique_ptr<MachOObjectFile>>.

llvm-svn: 264469
parent 3c110dd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment