Skip to content
Commit fb093c83 authored by Chris Lattner's avatar Chris Lattner Committed by Mehdi Amini
Browse files

[ODS/AsmParser] Don't pass MLIRContext with DialectAsmParser.

The former is redundant because the later carries it as part of
its builder.  Add a getContext() helper method to DialectAsmParser
to make this more convenient, and stop passing the context around
explicitly.  This simplifies ODS generated parser hooks for attrs
and types.

This resolves PR51985

Recommit 4b32f8ba after fixing a dependency.

Differential Revision: https://reviews.llvm.org/D110796
parent 33f43153
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment