[Mlir-commits] [mlir] d104db5 - AsmParser::getContext() - there can be only one. This should unbreak the build.

Chris Lattner llvmlistbot at llvm.org
Wed Sep 29 22:23:22 PDT 2021


Author: Chris Lattner
Date: 2021-09-29T22:23:03-07:00
New Revision: d104db531ee6d821d94ffd4bb48fa3929ab01235

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

LOG: AsmParser::getContext() - there can be only one.  This should unbreak the build.

Added: 
    

Modified: 
    mlir/lib/Parser/Parser.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Parser/Parser.cpp b/mlir/lib/Parser/Parser.cpp
index fe9348a81426e..881892d5bc252 100644
--- a/mlir/lib/Parser/Parser.cpp
+++ b/mlir/lib/Parser/Parser.cpp
@@ -1093,8 +1093,6 @@ Operation *OperationParser::parseGenericOperation(Block *insertBlock,
   return op;
 }
 
-MLIRContext *AsmParser::getContext() const { return getBuilder().getContext(); }
-
 namespace {
 class CustomOpAsmParser : public AsmParserImpl<OpAsmParser> {
 public:


        


More information about the Mlir-commits mailing list