HomePhabricator

[llvm-readobj] - Remove `error(llvm::Expected<T> &&E)`

Authored by grimar on Aug 9 2019, 4:03 AM.

Description

[llvm-readobj] - Remove error(llvm::Expected<T> &&E)

This is a bit strange method. It works like a unwrapOrError,
but named error. It does not report an Input name.
I removed it.

Differential revision: https://reviews.llvm.org/D66000

llvm-svn: 368430

Details