This is an archive of the discontinued LLVM Phabricator instance.

Add test for FixedStreamArrayIterator::operator->
ClosedPublic

Authored by amccarth on May 16 2017, 11:11 AM.

Details

Summary

The operator-> implementation comes from iterator_facade_base, so it should just work given that the iterator has a tested operator*. But r302257 showed that required careful handling of for the const qualifier. This patch ensures the fix in r302257 doesn't regress.

Diff Detail

Repository
rL LLVM

Event Timeline

amccarth created this revision.May 16 2017, 11:11 AM
dblaikie accepted this revision.May 16 2017, 11:13 AM

Seems good, though I don't know all that much about the API :)

This revision is now accepted and ready to land.May 16 2017, 11:13 AM
zturner accepted this revision.May 16 2017, 2:52 PM
This revision was automatically updated to reflect the committed changes.