From 051452bdb101f31457e9df014345bad58a7f1a09 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sun, 17 May 2020 19:24:33 +0000 Subject: [PATCH] Remove spurious semicolon after function definition (NFC) This fixes some GCC pedantic warnings. --- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 2 +- mlir/lib/IR/AffineMap.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp index 074d3a5..c7a0f9d 100644 --- a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp +++ b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp @@ -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 diff --git a/mlir/lib/IR/AffineMap.cpp b/mlir/lib/IR/AffineMap.cpp index 2823abc..8f2c944 100644 --- a/mlir/lib/IR/AffineMap.cpp +++ b/mlir/lib/IR/AffineMap.cpp @@ -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 permutation, -- 2.7.4