[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)
commite98a8f7b2a8625e99d1024cf100933a6e8551bae
tree4ac52167152cc736e13c40f6b87ca91670efd8b5
parent324396466c720c3a5b961225c7f52aa8043f916d
[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

llvm-svn: 361466
llvm/tools/llvm-objcopy/ELF/Object.cpp