AsmParser::getContext() - there can be only one. This should unbreak the build.
authorChris Lattner <clattner@nondot.org>
Thu, 30 Sep 2021 05:23:03 +0000 (22:23 -0700)
committerChris Lattner <clattner@nondot.org>
Thu, 30 Sep 2021 05:23:03 +0000 (22:23 -0700)
mlir/lib/Parser/Parser.cpp

index fe9348a..881892d 100644 (file)
@@ -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: