This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix missing OpInterface docs newline
ClosedPublic

Authored by seldridge on Dec 22 2022, 3:08 PM.

Details

Summary

Fix incorrect markdown generated by mlir-tblgen for an InterfaceMethod
that includes a body. Previously, this would cause the next method to
show up on the same line and produce incorrect markdown. Newlines would
only be added if the method did _not_ provide a body. E.g., previously
this was generating markdown like:

some function comment#### `next method`

This change makes this generate as:

some function comment

#### `next method`

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>

Diff Detail

Event Timeline

seldridge created this revision.Dec 22 2022, 3:08 PM
seldridge requested review of this revision.Dec 22 2022, 3:08 PM
rriddle accepted this revision.Dec 26 2022, 2:10 PM
This revision is now accepted and ready to land.Dec 26 2022, 2:10 PM
This revision was automatically updated to reflect the committed changes.