Duncan P. N. Exon Smith ec0b29efd9 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249763 91177308-0d34-0410-b5e6-96231b3b80d8
2015-10-08 22:36:08 +00:00
..
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00
2015-10-05 12:07:05 +00:00