Was suggested during review of D58441.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354463
91177308-0d34-0410-b5e6-
96231b3b80d8
ContiguousBlobAccumulator &CBA) {
raw_ostream &OS =
CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign);
- for (uint16_t V : Section.Entries)
- support::endian::write<uint16_t>(OS, V, ELFT::TargetEndianness);
+ for (uint16_t Version : Section.Entries)
+ support::endian::write<uint16_t>(OS, Version, ELFT::TargetEndianness);
SHeader.sh_entsize = 2;
SHeader.sh_size = Section.Entries.size() * SHeader.sh_entsize;