Page MenuHomePhabricator

Emit the boilerplate for Attribute printer/parser dialect dispatching from ODS

Authored by mehdi_amini on Nov 5 2021, 8:26 PM.



Add a new useDefaultAttributePrinterParser boolean settings on the dialect
(default to false for now) that emits the boilerplate to dispatch attribute
parsing/printing to the auto-generated method.
We will likely turn this on by default in the future.

Depends On D113327

Diff Detail

Event Timeline

mehdi_amini created this revision.Nov 5 2021, 8:26 PM
mehdi_amini requested review of this revision.Nov 5 2021, 8:26 PM

Tweak the location used on keyword mismatch

Fully qualify namespace

rriddle accepted this revision.Nov 7 2021, 1:20 PM

Much nicer!!

This revision is now accepted and ready to land.Nov 7 2021, 1:20 PM