This is a bit strange method. It works like a unwrapOrError,
but named error. It does not report an Input name.
I removed it.
Rebased on top of D65946
Paths
| Differential D66000
[llvm-readobj] - Remove `error(llvm::Expected<T> &&E)` ClosedPublic Authored by grimar on Aug 9 2019, 3:27 AM.
Details Summary This is a bit strange method. It works like a unwrapOrError, Rebased on top of D65946
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 9 2019, 3:31 AM Comment Actions
:)) I tried to catch something like that from time to time last years, but this one is unintentional. Kind of "we get something for free when do not need it anymore". Closed by commit rL368430: [llvm-readobj] - Remove `error(llvm::Expected<T> &&E)` (authored by grimar). · Explain WhyAug 9 2019, 4:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 214351 llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
llvm/trunk/tools/llvm-readobj/WasmDumper.cpp
llvm/trunk/tools/llvm-readobj/llvm-readobj.h
|