]> granicus.if.org Git - llvm/commit
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)
commitdca600b49cfe1baaddae5409753bac6eafd361cd
treea504e059a2fc9349dcde5a1cc01d3ea468fe8336
parenta76abe9fb9d59341b087b9db479f6c59944110f7
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302257 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/BinaryStreamArray.h