There are 4 methods that return std::error_code now,
though they do not have to because they are always succeed.
I refactored them.
This allows to simplify the code in tools a bit.
Paths
| Differential D66417
[Object/COFF.h] - Stop returning std::error_code in a few methods. NFCI. ClosedPublic Authored by grimar on Aug 19 2019, 6:16 AM.
Details Summary There are 4 methods that return std::error_code now, This allows to simplify the code in tools a bit.
Diff Detail Event TimelineComment Actions LGTM, with one nit.
This revision is now accepted and ready to land.Aug 19 2019, 6:35 AM
Revision Contents
Diff 215870 include/llvm/Object/COFF.h
lib/Object/COFFObjectFile.cpp
tools/llvm-objcopy/COFF/Reader.cpp
tools/llvm-objdump/COFFDump.cpp
tools/llvm-readobj/ARMWinEHPrinter.cpp
tools/llvm-readobj/COFFDumper.cpp
tools/obj2yaml/coff2yaml.cpp
|
You've lost the comment here. Please reinstate it.