[Mlir-commits] [mlir] 40e242e - [mlir] Fix the error message for missing explicit TypeID

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed May 18 14:08:15 PDT 2022


Author: Mogball
Date: 2022-05-18T21:08:09Z
New Revision: 40e242eb625c7f2d3069ab97218725ae6ff83469

URL: https://github.com/llvm/llvm-project/commit/40e242eb625c7f2d3069ab97218725ae6ff83469
DIFF: https://github.com/llvm/llvm-project/commit/40e242eb625c7f2d3069ab97218725ae6ff83469.diff

LOG: [mlir] Fix the error message for missing explicit TypeID

Summary:

The error message was incorrect

Reviewers: rriddle

Subscribers:

Added: 
    

Modified: 
    mlir/lib/Support/TypeID.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Support/TypeID.cpp b/mlir/lib/Support/TypeID.cpp
index 872070609490..e499e2f28363 100644
--- 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);
     }


        


More information about the Mlir-commits mailing list