This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tblgen][docs] Use correct introductionary prefix for Syntax description of attributes and types
ClosedPublic

Authored by zero9178 on Dec 7 2022, 3:16 AM.

Details

Summary

The doc generator currently has the use of ! as prefix hardcoded, despite being incorrect for Attributes. These start with #.

This patch fixes that little issue by using # for AttrDefs and ! for TypeDefs in Syntax field of the generated Markdown file

Diff Detail

Event Timeline

zero9178 created this revision.Dec 7 2022, 3:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2022, 3:16 AM
zero9178 requested review of this revision.Dec 7 2022, 3:16 AM
rriddle accepted this revision.Dec 7 2022, 3:19 AM
This revision is now accepted and ready to land.Dec 7 2022, 3:19 AM
This revision was landed with ongoing or failed builds.Dec 7 2022, 3:26 AM
This revision was automatically updated to reflect the committed changes.