<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58030>58030</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MLIR Core] Rename `FunctionOpInterfaces::getBody()`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir:core
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lattner
</td>
</tr>
</table>
<pre>
Both `FunctionOpInterfaces` and `SingleBlockImplicitTerminator` define a `getBody()` method, so having a function like thing with a single block and implicit terminator requires an ugly using decl like this:
```
using mlir::OpTrait::SingleBlockImplicitTerminator<ReturnOp>::Impl<FuncOp>::getBody;
```
It would be really nice to rename FunctionOpInterfaces::getBody to something like `getFunctionBody` to avoid the conflict.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9UlFv2yAQ_jX4BS0iEJPmwQ91ukiRNlXK-gcwPtusGDLAqfrvd9hJl0ndJAS6u-_uvvuOxrfvVe3TQIlkh8npZLx7Ph9dgtApDRHdVLk2h38Y11uordevx_FsjTbpBcJonEo-ZFwLnXFAVQb3kGqsTfgD4bscHCENviV8T6Ong7pgMUR215bUmlegacjeN4N0FI1zO9rkfjMFc21K00dXGuDXZAJEBNCpt-90ymnIRNuPkpGIR8KeCLvdkl3PbC4ZozUh48Tj8_klKJMW4_8zi_0J0hRQMCK-LgkZhf4s5Z33poaoP6Ww3MdE3_xkW9oAzqUsTuOMxhE8mk6NQD9d0H2DjI0-S51nmgVYdnHLnFngNhCnLt60qA9Q7V2Ho6XVPZsCqrWUG8E5222LthLtTuxUkUyyUJGy_v7teKJ7H4CUT_S08PvXH_pLg9uPKKZgqyGl8xznBzw9bn5qVtqPaFh7uT1fzsH_BJ3QNDFOWJEfygcmWDFUjS47sdWllqLU0DK53Uq0m81aKgWyK6xqwMZMmXB-XbPOvDlH6oWpOMsz8i0Xm7WQK7EpGccqTcm01LAmGwajMnaVmax86ItQzaSaqY8YtCam-CeoYjS9g1mjXF9N-O8xQ6XkIBQz_2om_xuotx7L">