diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2019-10-26 15:08:49 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2019-10-26 15:08:49 +0300 |
commit | 073ab70b72fa0db7d9c591f77377ef3ce88cc222 (patch) | |
tree | ffd3528ec29c9203e83ea721e4743fec8fe7b820 /llvm/lib/ObjectYAML/ELFEmitter.cpp | |
parent | 05a9e344ee35f3b5989df5b95c80a2955389cbbb (diff) | |
download | bcm5719-llvm-073ab70b72fa0db7d9c591f77377ef3ce88cc222.tar.gz bcm5719-llvm-073ab70b72fa0db7d9c591f77377ef3ce88cc222.zip |
[ObjectYAML] - Do not use auto. NFC.
Using 'auto' when the type is not obvious is undesired.
(it is just a test commit actually)
Diffstat (limited to 'llvm/lib/ObjectYAML/ELFEmitter.cpp')
-rw-r--r-- | llvm/lib/ObjectYAML/ELFEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ObjectYAML/ELFEmitter.cpp b/llvm/lib/ObjectYAML/ELFEmitter.cpp index dae3f395993..d5cdb85eab5 100644 --- a/llvm/lib/ObjectYAML/ELFEmitter.cpp +++ b/llvm/lib/ObjectYAML/ELFEmitter.cpp @@ -494,7 +494,7 @@ ELFState<ELFT>::toELFSymbols(ArrayRef<ELFYAML::Symbol> Symbols, Ret.resize(Symbols.size() + 1); size_t I = 0; - for (const auto &Sym : Symbols) { + for (const ELFYAML::Symbol &Sym : Symbols) { Elf_Sym &Symbol = Ret[++I]; // If NameIndex, which contains the name offset, is explicitly specified, we |