OSDN Git Service

Change Archive::create() from ErrorOr<...> to Expected<...> and update
authorKevin Enderby <enderby@apple.com>
Wed, 29 Jun 2016 20:35:44 +0000 (20:35 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 29 Jun 2016 20:35:44 +0000 (20:35 +0000)
commit0b21d88fd31b4bfb6fdb7e2f1ed5f93639d5bd1c
tree08092bf45f2d4c264837718186cc82d766c88959
parentb76b4707be8f8a807efe8538534eee3ea0ba279c
Change Archive::create() from ErrorOr<...> to Expected<...> and update
its clients.

This commit will break the next lld builds.  I’ll be committing the matching
change for lld next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274160 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/Archive.h
lib/Object/Archive.cpp
lib/Object/Binary.cpp
lib/Object/MachOUniversal.cpp
tools/dsymutil/BinaryHolder.cpp
tools/lli/lli.cpp
tools/llvm-ar/llvm-ar.cpp