[PATCH] D32235: Add `operator->` overload to VarStreamArrayIterator

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 11:44:45 PDT 2017


inglorion added a comment.

iterator_facade_base is already supposed to provide operator-> when you supply operator*. Looking into this offline together, it seems the type checker is tripping over the const ValueType on line 160, and that providing a non-const operator* may fix that.


https://reviews.llvm.org/D32235





More information about the llvm-commits mailing list