From a0a55b7903d8f4c66ba88561ed32e01652334536 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 25 Apr 2020 22:42:12 +0200 Subject: [PATCH] Adjust namespace to make GCC 6 happy LinalgOps.cpp:232:71: error: specialization of 'template static mlir::LogicalResult {anonymous}::BlockArgsVerifier::verify(GenericOpType, mlir::Block&)' in different namespace [-fpermissive] --- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp index e4976aeaa346..9fef7a92d6b8 100644 --- a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp +++ b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp @@ -204,7 +204,6 @@ template struct BlockArgsVerifier { static LogicalResult verify(GenericOpType op, Block &block); }; -} // namespace template LogicalResult BlockArgsVerifier::verify(GenericOpType op, @@ -257,6 +256,7 @@ LogicalResult BlockArgsVerifier::verify(IndexedGenericOp op, } return success(); } +} // namespace template static LogicalResult verifyGenericOp(GenericOpType op) {