Skip to content

Commit 051452b

Browse files
committed
Remove spurious semicolon after function definition (NFC)
This fixes some GCC pedantic warnings.
1 parent 5f65fae commit 051452b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ static OpFoldResult foldReshapeOp(ReshapeOpTy reshapeOp) {
345345
reshapeSrcOp.getSrcType() == reshapeOp.getResultType())
346346
return reshapeSrcOp.src();
347347
return nullptr;
348-
};
348+
}
349349

350350
/// Return true if the reassociation specification is valid, false otherwise.
351351
/// When false, the `invalidIndex` integer pointer is optionally filled with the

mlir/lib/IR/AffineMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ bool AffineMap::isMinorIdentity(AffineMap map) {
109109
return false;
110110
return map == getMinorIdentityMap(map.getNumDims(), map.getNumResults(),
111111
map.getContext());
112-
};
112+
}
113113

114114
/// Returns an AffineMap representing a permutation.
115115
AffineMap AffineMap::getPermutationMap(ArrayRef<unsigned> permutation,

0 commit comments

Comments
 (0)