It is outdated. Using of Expected<> is preferred, also it does
not provide a way to report a file name.
I updated the code to use the modern version of unwrapOrError instead.
Paths
| Differential D65951
[llvm-readobj] - Remove unwrapOrError(ErrorOr<T> EO) helper. ClosedPublic Authored by grimar on Aug 8 2019, 6:57 AM.
Details Summary It is outdated. Using of Expected<> is preferred, also it does I updated the code to use the modern version of unwrapOrError instead.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 8 2019, 6:59 AM Closed by commit rL368410: [llvm-readobj] - Remove unwrapOrError(ErrorOr<T> EO) helper. (authored by grimar). · Explain WhyAug 9 2019, 1:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 214328 llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
llvm/trunk/tools/llvm-readobj/llvm-readobj.h
|