OSDN Git Service

[llvm-objcopy] - Many minor NFC changes to cleanup/improve the code in ELF/Object...
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 23 May 2019 09:18:57 +0000 (09:18 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 23 May 2019 09:18:57 +0000 (09:18 +0000)
commit71206d184d7d537c3d253026283cabd9788c2985
tree3305b052499dde52363ef9b4256da6067dc8a120
parent774f0256b236e0c65bf37feabf900c22578e6dad
[llvm-objcopy] - Many minor NFC changes to cleanup/improve the code in ELF/Object.cpp.

The code in ELF/Object.cpp is sometimes a bit hard to read because of
lots of auto used everywhere. The main intention of this patch is
to replace them with the real type for places where it is not obvious.
Also it cleanups few places.

It is NFC change, but I want to be sure that there is no objections to do that since it
is massive.

DIfferential revision: https://reviews.llvm.org/D62260

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361466 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-objcopy/ELF/Object.cpp