diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 20:07:10 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 20:07:10 +0000 |
| commit | a73371a9b72fa41351706c48f90142b2283f46da (patch) | |
| tree | 360a67496af3ad5620f9a324d7e34467c74244b8 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | 6b948d5efb71d6e8c7822861b500bf4a36cdde9d (diff) | |
| download | llvm-a73371a9b72fa41351706c48f90142b2283f46da.zip llvm-a73371a9b72fa41351706c48f90142b2283f46da.tar.gz llvm-a73371a9b72fa41351706c48f90142b2283f46da.tar.bz2 | |
AMDGPU: Remove implicit ilist iterator conversions, NFC
One of the changes in lib/Target/AMDGPU/AMDGPUMCInstLower.cpp was a new
one. Previously, bundle iterators and single-instruction iterators
could be compared to each other (comparing on underlying pointers).
I changed a comparison from using `MBB->end()` to using
`MBB->instr_end()`, since both end iterators should point at the some
place anyway.
I don't think the implicit conversion between the two iterator types is
a good idea since it's fairly easy to accidentally compare to the wrong
thing (they aren't always end iterators). Otherwise I would have just
added the conversion.
Even with that, no there should be functionality change here.
llvm-svn: 250218
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
