Allow operator-> to work from a FixedStreamArrayIterator.
authorAdrian McCarthy <amccarth@google.com>
Fri, 5 May 2017 17:14:00 +0000 (17:14 +0000)
committerAdrian McCarthy <amccarth@google.com>
Fri, 5 May 2017 17:14:00 +0000 (17:14 +0000)
commit60afb4386d19f17d11b183868eb32da06e7fa3eb
treec49924a4fd35d88b7dbabb66f554afece4e16a5a
parentfc481e5eb71237421f189951b9d383f72bd63bf1
Allow operator-> to work from a FixedStreamArrayIterator.

This is similar to my recent fix for VarStreamArrayIterator, but the cause
(and thus the fix) is subtley different.  The FixedStreamArrayIterator
iterates over a const Array, so the iterator's value type must be const.

llvm-svn: 302257
llvm/include/llvm/Support/BinaryStreamArray.h