From: Benjamin Kramer Date: Sat, 25 Apr 2020 20:42:12 +0000 (+0200) Subject: Adjust namespace to make GCC 6 happy X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0a55b7903d8f4c66ba88561ed32e01652334536;p=platform%2Fupstream%2Fllvm.git 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] --- diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp index e4976ae..9fef7a9 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) {