diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-08 22:47:55 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-08 22:47:55 +0000 |
| commit | 6eeaff169ddfbce483790bc6db3e08fe424f14ed (patch) | |
| tree | be3d2af93ef3db0dbde74c843431c740296cb52e /llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | |
| parent | 066c8db3478ae4c15ba24955b1bafb1ae4e860b4 (diff) | |
| download | bcm5719-llvm-6eeaff169ddfbce483790bc6db3e08fe424f14ed.tar.gz bcm5719-llvm-6eeaff169ddfbce483790bc6db3e08fe424f14ed.zip | |
Support: Stop relying on iterator auto-conversion, NFC
Stop relying on ilist implicit conversions from `value_type&` to
`iterator` in YAMLParser.cpp.
I eventually want to outlaw this entirely. It encourages
`getNextNode()` and `getPrevNode()` in iterator logic, which is
extremely fragile (and relies on them never returning `nullptr`).
FTR, there's nothing nefarious going on in this case, it was just easy
to clean up since the callers really wanted iterators to begin with.
llvm-svn: 249767
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp')
0 files changed, 0 insertions, 0 deletions

