diff options
| author | George Rimar <grimar@accesssoftek.com> | 2019-02-20 14:01:02 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2019-02-20 14:01:02 +0000 |
| commit | dac37fb38d01aac823fcc10b446536500450695f (patch) | |
| tree | 45d10ca6927c3ad54d0f3bde461843bb3bdedb5e | |
| parent | d063c7d89be3bc270eb152bb29c2350260520bfe (diff) | |
| download | bcm5719-llvm-dac37fb38d01aac823fcc10b446536500450695f.tar.gz bcm5719-llvm-dac37fb38d01aac823fcc10b446536500450695f.zip | |
[yaml2elf] - Rename a variable. NFC.
Was suggested during review of D58441.
llvm-svn: 354463
| -rw-r--r-- | llvm/tools/yaml2obj/yaml2elf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/yaml2obj/yaml2elf.cpp b/llvm/tools/yaml2obj/yaml2elf.cpp index 0aaeb0b5c61..4e51744991e 100644 --- a/llvm/tools/yaml2obj/yaml2elf.cpp +++ b/llvm/tools/yaml2obj/yaml2elf.cpp @@ -577,8 +577,8 @@ bool ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader, 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; |

