<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59673>59673</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [mlir] `Type::dump()` should print a `\n` at the end
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir:core,
            mlir
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          lattner
      </td>
    </tr>
</table>

<pre>
    This has been a long annoyance of mine: the "dump" methods on IR objects are intended to be used in a debugger, but type has never printed a \n at the end.  This makes it inconsistent with everything else, and makes it very difficult to understand in LLDB at least.

Is there any objection to adding a \n to the dump method?  There is no behavior change needed on print etc.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEUs1u4yAQfhp8GdUig3-Sgw9po0iVelr1BbCZ2OziIYJxV3n7FW5WvdgSMN_ffDZnPzPRoNpX1V4qu8kS0xCsCFOqxugew-fiMyw2w0jEYCFEnsEyx4fliSDeYPVMypxBFgKF6Lb1rhBhJVmiyxAZ3n9BHH_TJBlsIvAsxI4cSISRYMvkwBdsR-M2z5QUvsG4CcjjTjs30xcluKcy6cCCat8YrOyUxK4G2GWu9g9l8AKep8jZZyEW-OtlgQLwkMXzDBQyFQbL7meiXIPzt5uftiBF2caOUpbyyjN8fFxeC2Mgm6VW-qL0-fv7nouMRGD58bTpIxcE61zhe8qVuMst8TyzUeZahJdZn4FLGIv98jHBtFieCZioxBT52zqQTHXlBuNO5mQrGg5df-j7vmmbahnaxmjdHttWu2kazc0g0qQP2nWTOepWV35AjXhANLozvWnqkx6tw-422tE2_fGkGk2r9aEO4WutY5orn_NGQ3vqelMFO1LIe1UQ1-CTMucpJlKICt_-nyGWIqWhQLyM25xVo4PPkn9AxUvYK7cPtBdQnf583EuHlDl_1-eo8KQ6DXmJW3BP-7a8LFmWm5_tV1sKwyJyzwUBrwqvs5dlG-sprgqvhfj5e7mnWBak8Lpbywqvu7t_AQAA___93f4b">