forked from OSchip/llvm-project
[MLIR][NFC] Fix deprecation message.
This commit is contained in:
parent
ff1d9a4b97
commit
732c39fa3b
|
@ -219,7 +219,7 @@ parseSourceFile(llvm::StringRef filename, llvm::SourceMgr &sourceMgr,
|
|||
MLIRContext *context) {
|
||||
return parseSourceFile<ModuleOp>(filename, sourceMgr, context);
|
||||
}
|
||||
[[deprecated("use parseSourceFile<ModuleOp>")]] inline OwningOpRef<ModuleOp>
|
||||
[[deprecated("use parseSourceString<ModuleOp>")]] inline OwningOpRef<ModuleOp>
|
||||
parseSourceString(llvm::StringRef moduleStr, MLIRContext *context) {
|
||||
return parseSourceString<ModuleOp>(moduleStr, context);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue