@@ -86,7 +86,7 @@ class Type;
86
86
assert (i == 0 && " Operand index out of range!" );
87
87
return Operands[0 ];
88
88
}
89
- using op_iterator = const SCEV *const * ;
89
+ using op_iterator = std::array< const SCEV *, 1 >::const_iterator ;
90
90
using op_range = iterator_range<op_iterator>;
91
91
92
92
op_range operands () const {
@@ -274,7 +274,7 @@ class Type;
274
274
class SCEVUDivExpr : public SCEV {
275
275
friend class ScalarEvolution ;
276
276
277
- std::array<const SCEV*, 2 > Operands;
277
+ std::array<const SCEV *, 2 > Operands;
278
278
279
279
SCEVUDivExpr (const FoldingSetNodeIDRef ID, const SCEV *lhs, const SCEV *rhs)
280
280
: SCEV(ID, scUDivExpr, computeExpressionSize({lhs, rhs})) {
@@ -291,7 +291,7 @@ class Type;
291
291
return i == 0 ? getLHS () : getRHS ();
292
292
}
293
293
294
- using op_iterator = const SCEV *const * ;
294
+ using op_iterator = std::array< const SCEV *, 2 >::const_iterator ;
295
295
using op_range = iterator_range<op_iterator>;
296
296
op_range operands () const {
297
297
return make_range (Operands.begin (), Operands.end ());
0 commit comments