This is an archive of the discontinued LLVM Phabricator instance.

[AsmParser] Automatically declare and lex attribute keywords (NFC)
ClosedPublic

Authored by nikic on Apr 26 2022, 10:00 AM.

Details

Summary

Rather than listing these by hand, include all enum attribute keywords from Attributes.inc. This reduces the number of places one has to update whenever an enum attribute is added.

Diff Detail

Event Timeline

nikic created this revision.Apr 26 2022, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2022, 10:00 AM
nikic requested review of this revision.Apr 26 2022, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2022, 10:00 AM
aeubanks accepted this revision.Apr 26 2022, 10:02 AM
This revision is now accepted and ready to land.Apr 26 2022, 10:02 AM
nickdesaulniers accepted this revision.Apr 26 2022, 10:22 AM

Thanks for the patch!

This revision was landed with ongoing or failed builds.Apr 27 2022, 12:27 AM
This revision was automatically updated to reflect the committed changes.