[Mlir-commits] [mlir] 732c39f - [MLIR][NFC] Fix deprecation message.

Christian Sigg llvmlistbot at llvm.org
Sun Mar 13 06:18:55 PDT 2022


Author: Christian Sigg
Date: 2022-03-13T14:17:46+01:00
New Revision: 732c39fa3b05f1a622531567bed2feaf5af0c291

URL: https://github.com/llvm/llvm-project/commit/732c39fa3b05f1a622531567bed2feaf5af0c291
DIFF: https://github.com/llvm/llvm-project/commit/732c39fa3b05f1a622531567bed2feaf5af0c291.diff

LOG: [MLIR][NFC] Fix deprecation message.

Added: 
    

Modified: 
    mlir/include/mlir/Parser/Parser.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Parser/Parser.h b/mlir/include/mlir/Parser/Parser.h
index 092c0efb5b9de..5bbac02c905ad 100644
--- a/mlir/include/mlir/Parser/Parser.h
+++ b/mlir/include/mlir/Parser/Parser.h
@@ -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);
 }


        


More information about the Mlir-commits mailing list