]> granicus.if.org Git - llvm/commit
[llvm-readobj] - Remove `error(llvm::Expected<T> &&E)`
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 9 Aug 2019 11:03:21 +0000 (11:03 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 9 Aug 2019 11:03:21 +0000 (11:03 +0000)
commit3a826a6553b25251edb182005b3a476816b35228
tree5b0d12b985b90f65520c29986f5e7f3da5c5f5a7
parent6f0ef55d41b99f22c7e947b7b32cad883e68a01b
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368430 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-readobj/COFFDumper.cpp
tools/llvm-readobj/WasmDumper.cpp
tools/llvm-readobj/llvm-readobj.h