Add != to YAMLParser's basic_collection_iterator.
authorJordan Rose <jordan_rose@apple.com>
Wed, 6 Jan 2016 05:17:12 +0000 (05:17 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 6 Jan 2016 05:17:12 +0000 (05:17 +0000)
commit71a6baa31c4a08a3c123953a0239bff001b2e437
treefd26cc065b73c3ec0b37f432f065b25dcd25311c
parent4cb9f9dcb1839ebe4a09c1c254f1ee1f598d98c8
Add != to YAMLParser's basic_collection_iterator.

...and mark it as merely an input_iterator rather than a forward_iterator,
since it is destructive. And then rewrite == to take advantage of that.

Patch by Alex Denisov!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256913 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/YAMLParser.h
unittests/Support/YAMLParserTest.cpp