Remove spurious semicolon after function definition (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Sun, 17 May 2020 19:24:33 +0000 (19:24 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 17 May 2020 23:15:17 +0000 (23:15 +0000)
This fixes some GCC pedantic warnings.

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

index 074d3a5..c7a0f9d 100644 (file)
@@ -345,7 +345,7 @@ static OpFoldResult foldReshapeOp(ReshapeOpTy reshapeOp) {
       reshapeSrcOp.getSrcType() == reshapeOp.getResultType())
     return reshapeSrcOp.src();
   return nullptr;
-};
+}
 
 /// Return true if the reassociation specification is valid, false otherwise.
 /// When false, the `invalidIndex` integer pointer is optionally filled with the
index 2823abc..8f2c944 100644 (file)
@@ -109,7 +109,7 @@ bool AffineMap::isMinorIdentity(AffineMap map) {
     return false;
   return map == getMinorIdentityMap(map.getNumDims(), map.getNumResults(),
                                     map.getContext());
-};
+}
 
 /// Returns an AffineMap representing a permutation.
 AffineMap AffineMap::getPermutationMap(ArrayRef<unsigned> permutation,