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:
e831ea6
)
[mlir] Fix the error message for missing explicit TypeID
author
Mogball
<jeffniu22@gmail.com>
Wed, 18 May 2022 21:06:47 +0000
(21:06 +0000)
committer
Mogball
<jeffniu22@gmail.com>
Wed, 18 May 2022 21:08:09 +0000
(21:08 +0000)
Summary:
The error message was incorrect
Reviewers: rriddle
Subscribers:
mlir/lib/Support/TypeID.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Support/TypeID.cpp
b/mlir/lib/Support/TypeID.cpp
index
8720706
..
e499e2f
100644
(file)
--- a/
mlir/lib/Support/TypeID.cpp
+++ b/
mlir/lib/Support/TypeID.cpp
@@
-50,7
+50,7
@@
struct ImplicitTypeIDRegistry {
"explicit TypeID instantiation for this type using "
"`MLIR_DECLARE_EXPLICIT_TYPE_ID`/"
"`MLIR_DEFINE_EXPLICIT_TYPE_ID` or "
- "`
DEFINE_EXPLICIT_PRIVATE
_INLINE_TYPE_ID`.\n";
+ "`
MLIR_DEFINE_EXPLICIT_INTERNAL
_INLINE_TYPE_ID`.\n";
}
llvm::report_fatal_error(errorStr);
}