Skip to content

Commit c9731a3

Browse files
[mlir] Fix a warning about an extraneous semicolon
This patch fixes: mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp:58:2: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
1 parent b0ddbfb commit c9731a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static int64_t getRankOf(Value val) {
5555
if (auto ty = llvm::dyn_cast<ShapedType>(type))
5656
return ty.getRank();
5757
return 0;
58-
};
58+
}
5959

6060
static bool isReadHintOrNone(const CachePolicyAttr &attr) {
6161
if (!attr)

0 commit comments

Comments
 (0)