Add CRLF support to LineIterator.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 3 Nov 2014 14:09:47 +0000 (14:09 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 3 Nov 2014 14:09:47 +0000 (14:09 +0000)
commit9586f1a56a436a9350d8e34d5ba10e99be8ce479
tree1e062bd02129c82adea1960f8c5e717f8a64d79b
parent25f4c35b2236d305214e16cd9becc4f357dab216
Add CRLF support to LineIterator.

The MRI scripts have to work with CRLF, and in general it is probably
a good idea to support this in a core utility like LineIterator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221153 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/LineIterator.cpp
test/Object/Inputs/mri-crlf.mri [new file with mode: 0644]
test/Object/mri-crlf.test [new file with mode: 0644]