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

    <tr>
        <th>Summary</th>
        <td>
            clang-tidy check misc-definitions-in-headers offers no fix as described in the documentation
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          sean-mcmanus
      </td>
    </tr>
</table>

<pre>
    I'm using clang 14.0.0. Docs at https://releases.llvm.org/14.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/list.html show check misc-definitions-in-headers as having a fix available, but I don't get any fix and the docs at https://releases.llvm.org/14.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc-definitions-in-headers.html don't give info on how to enable a fix.

Repro is with
```cpp

#include <test.h>

int main()
{
    return 0;
}
```
with test.h
```cpp
int i;
```

I'm using --export-fixes (I assume that doesn't matter).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9U8FymzAQ_Rpx2YGRBdjmwCGJ25lc-wcCLUatkDxocZK_7wqcxO1MOz0VGK2klXbf2310wby1z0IdJlii9WfoneZxVxWSXziFPoImGIkuUZQPQn3lb0aHOmIsnLtORZjPvLfd4AmF4CLbNdDdGl9p1mwNh3x352TNW1qM2P9Iu85GKkaaHMQxvMC6D5ONfW5wsN6SDT7m1ucjaoMzY4sw6msCrmGwr6Cv2jrdORTqCbqF4BlM8MyP4IwE2r9tx7wBGhHMf-b3Fyob7Q-w9opg_RAgeEiloADoE7GNaCHkSciHbfyGlzmAjfBiabw59nL7-svl_qhQpfW9WwyCKJ8IU7lF-eX-iPUEk7aM4yhUc_McHrcJ8DMjLbMHKcrHd-_pt6zbMsGBW44_oErJ7GegX-9v47068xxfL2GmnEuAERjiM0sgLhNyO7mPJmDcCjhpIpyZQJGZtjRN2eiMLDlsPzvzD_oKw5CMD5tsIhiM_Ww7NNyddwlxek863c2W2bW_iunMRVi6og9T0jcL6mZy7tl37ImXlhlgkkddy6bMxrZpqsPx2B3MrpKl3GG9V_sjGtmVptd1P2QscXSxFfWjUMrjC6wheC7qU2ZbJZWSldrLXaXqQ9GhGvaoy3LfdLXeVaKSyB12H_rO5naF1C3nyM70F36KP-MC27NHXNNxfL3QGOY2ovb51E_aLzFb87cr_p8Edl3m">