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:
86e57e6
)
[mlir] Fix a warning
author
Kazu Hirata
<kazu@google.com>
Sun, 23 Oct 2022 08:03:56 +0000
(
01:03
-0700)
committer
Kazu Hirata
<kazu@google.com>
Sun, 23 Oct 2022 08:03:56 +0000
(
01:03
-0700)
This patch fixes:
mlir/include/mlir/Tools/mlir-translate/Translation.h:93:35: warning:
extra ‘;’ [-Wpedantic]
mlir/include/mlir/Tools/mlir-translate/Translation.h
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Tools/mlir-translate/Translation.h
b/mlir/include/mlir/Tools/mlir-translate/Translation.h
index
bc4636c
..
4c090b7
100644
(file)
--- a/
mlir/include/mlir/Tools/mlir-translate/Translation.h
+++ b/
mlir/include/mlir/Tools/mlir-translate/Translation.h
@@
-90,7
+90,7
@@
struct TranslateFromMLIRRegistration {
<< "expected a '" << OpTy::getOperationName()
<< "' op, got '" << op->getName().getStringRef() << "'";
},
- dialectRegistration){}
;
+ dialectRegistration){}
};
struct TranslateRegistration {
TranslateRegistration(llvm::StringRef name, llvm::StringRef description,