projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08dcd4c
)
[mlir] Fix a warning
author
Kazu Hirata
<kazu@google.com>
Mon, 15 May 2023 17:06:15 +0000
(10:06 -0700)
committer
Kazu Hirata
<kazu@google.com>
Mon, 15 May 2023 17:06:15 +0000
(10:06 -0700)
This patch fixes:
mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp:45:2: error: extra ';'
outside of a function is incompatible with C++98
[-Werror,-Wc++98-compat-extra-semi]
mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
b/mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
index 5e42602bc3eaac80387ccd343a3f740146927703..2529bf712898c611e61921c33b9d4d51af4979dd 100644
(file)
--- a/
mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
+++ b/
mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
@@
-42,7
+42,7
@@
bool isStaticShapeAndContiguousRowMajor(MemRefType type) {
// All dims are unit-strided or size-1.
return curDim < 0;
-}
;
+}
} // namespace memref
} // namespace mlir