aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-08 22:36:08 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-08 22:36:08 +0000
commitece61624b122aa8a9e08b43e537cdc550c9342c3 (patch)
treef5de9cfa73e33c15630a14e56b55de0ffd128d5c /llvm/lib/Object/MachOObjectFile.cpp
parent02cccde95b977f2866271074f661c0dfd13262d5 (diff)
downloadllvm-ece61624b122aa8a9e08b43e537cdc550c9342c3.zip
llvm-ece61624b122aa8a9e08b43e537cdc550c9342c3.tar.gz
llvm-ece61624b122aa8a9e08b43e537cdc550c9342c3.tar.bz2
MC: Stop using Fragment::getNextNode()
Stop using `getNextNode()` to get an iterator to a fragment (at least, in this one place). Instead, use iterator logic directly. The `getNextNode()` interface isn't actually supposed to work for creating iterators; it's supposed to return `nullptr` (not a real iterator) if this is the last node. It's currently broken and will "happen" to work, but if we ever fix the function, we'll get some strange failures in places like this. llvm-svn: 249763
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions