diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-10 00:13:11 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-10 00:13:11 +0000 |
commit | a5f45da27e5c63102780bcfb548873e1d268e5f1 (patch) | |
tree | d9fa5715905c4fb8779771c9b7ee85f67295bcbe /llvm/lib/MC/MCMachOStreamer.cpp | |
parent | d90a4176ffd84517da1fbb47fa33aef1d5ad6e4c (diff) | |
download | llvm-a5f45da27e5c63102780bcfb548873e1d268e5f1.zip llvm-a5f45da27e5c63102780bcfb548873e1d268e5f1.tar.gz llvm-a5f45da27e5c63102780bcfb548873e1d268e5f1.tar.bz2 |
MC: Remove implicit ilist iterator conversions, NFC
llvm-svn: 249922
Diffstat (limited to 'llvm/lib/MC/MCMachOStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCMachOStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp index 50ee08f..f7a0615 100644 --- a/llvm/lib/MC/MCMachOStreamer.cpp +++ b/llvm/lib/MC/MCMachOStreamer.cpp @@ -472,7 +472,7 @@ void MCMachOStreamer::FinishImpl() { const MCSymbol *CurrentAtom = nullptr; for (MCSection::iterator it2 = it->begin(), ie2 = it->end(); it2 != ie2; ++it2) { - if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(it2)) + if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(&*it2)) CurrentAtom = Symbol; it2->setAtom(CurrentAtom); } |