Skip to content

Commit 38b3625

Browse files
author
Peiming Liu
committed
fix clang-format
1 parent 5cec932 commit 38b3625

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SparseTensorLevel {
7171

7272
protected:
7373
SparseTensorLevel(unsigned tid, unsigned lvl, LevelType lt, Value lvlSize)
74-
: tid(tid), lvl(lvl), lt(lt), lvlSize(lvlSize){};
74+
: tid(tid), lvl(lvl), lt(lt), lvlSize(lvlSize) {};
7575

7676
public:
7777
const unsigned tid, lvl;
@@ -103,7 +103,7 @@ class SparseIterationSpace {
103103
// Constructs a 1-D iteration space.
104104
SparseIterationSpace(Location loc, OpBuilder &b, Value t, unsigned tid,
105105
Level lvl, ValueRange parentPos)
106-
: SparseIterationSpace(loc, b, t, tid, {lvl, lvl + 1}, parentPos){};
106+
: SparseIterationSpace(loc, b, t, tid, {lvl, lvl + 1}, parentPos) {};
107107

108108
bool isUnique() const { return lvls.back()->isUnique(); }
109109

@@ -150,13 +150,13 @@ class SparseIterator {
150150
unsigned cursorValsCnt,
151151
SmallVectorImpl<Value> &cursorValStorage)
152152
: batchCrds(0), kind(kind), tid(tid), lvl(lvl), crd(nullptr),
153-
cursorValsCnt(cursorValsCnt), cursorValsStorageRef(cursorValStorage){};
153+
cursorValsCnt(cursorValsCnt), cursorValsStorageRef(cursorValStorage) {};
154154

155155
SparseIterator(IterKind kind, unsigned cursorValsCnt,
156156
SmallVectorImpl<Value> &cursorValStorage,
157157
const SparseIterator &delegate)
158158
: SparseIterator(kind, delegate.tid, delegate.lvl, cursorValsCnt,
159-
cursorValStorage){};
159+
cursorValStorage) {};
160160

161161
SparseIterator(IterKind kind, const SparseIterator &wrap,
162162
unsigned extraCursorCnt = 0)

0 commit comments

Comments
 (0)