Skip to content

Commit 024bd73

Browse files
sparker-armvladimirlaz
authored andcommitted
[SCEV] Still (again) trying to fix buildbots
1 parent 271a1f0 commit 024bd73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class Type;
8686
assert(i == 0 && "Operand index out of range!");
8787
return Operands[0];
8888
}
89-
using op_iterator = const SCEV *const *;
89+
using op_iterator = std::array<const SCEV *, 1>::const_iterator;
9090
using op_range = iterator_range<op_iterator>;
9191

9292
op_range operands() const {
@@ -274,7 +274,7 @@ class Type;
274274
class SCEVUDivExpr : public SCEV {
275275
friend class ScalarEvolution;
276276

277-
std::array<const SCEV*, 2> Operands;
277+
std::array<const SCEV *, 2> Operands;
278278

279279
SCEVUDivExpr(const FoldingSetNodeIDRef ID, const SCEV *lhs, const SCEV *rhs)
280280
: SCEV(ID, scUDivExpr, computeExpressionSize({lhs, rhs})) {
@@ -291,7 +291,7 @@ class Type;
291291
return i == 0 ? getLHS() : getRHS();
292292
}
293293

294-
using op_iterator = const SCEV *const *;
294+
using op_iterator = std::array<const SCEV *, 2>::const_iterator;
295295
using op_range = iterator_range<op_iterator>;
296296
op_range operands() const {
297297
return make_range(Operands.begin(), Operands.end());

0 commit comments

Comments
 (0)