HomePhabricator

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

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

Details

Committed
grimarAug 9 2019, 4:03 AM
Differential Revision
D66000: [llvm-readobj] - Remove `error(llvm::Expected<T> &&E)`
Parents
rL368429: [clangd] Use raw rename functions to implement the rename.
Branches
Unknown
Tags
Unknown