llvm.org GIT mirror llvm / 5078c4c
VarStreamArrayIterator needed non-const operator* overload. Without this change, the operator-> provided by iterator_facade lost type qualifiers. Differential Revision: https://reviews.llvm.org/D32235 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300877 91177308-0d34-0410-b5e6-96231b3b80d8 Adrian McCarthy 3 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
157157 }
158158
159159 const ValueType &operator*() const {
160 assert(Array && !HasError);
161 return ThisValue;
162 }
163
164 ValueType &operator*() {
160165 assert(Array && !HasError);
161166 return ThisValue;
162167 }