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

    <tr>
        <th>Summary</th>
        <td>
            -Wdocumentation too strict on `not a Doxygen trailing comment`
        </td>
    </tr>

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

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

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

<pre>
    The following code:
````
auto f() noexcept
{
    [[maybe_unused]] int i = 0; //< For debug purpose
}
````
causes the warning `not a Doxygen trailing comment [-Wdocumentation]`.
However, this comment is not in a context where doxygen expects a doxygen comment.
As such, doxygen gives a warning if this would be updated to `///<`.

I believe that inside a function, this warning should not be given.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEkk-P2yAQxT8Nvow2Ahw7y8GHZK2o7blqjxXgiU1FwDJDkv32FU6yK1WqKiH_wcx7vzcenZIbA2LHmgNr-kpnmuLSffuxnzFUJg7v3fcJ4RS9j1cXRrBxQFbvGe8Z37OWf651R2eKcGLylUkFIeLN4kyPw7vD_QEAYLU7nPW7wV855IQDa3rW9OACgQNW98BZfQAmj2XVb3CMCwxo8ghzXuaY8Kna_4vF6pwwAU0IV72EQs9aHiKBhj7e3kcMQIt2_p7rfMZABezl5xBtLm-aXAwFrOWbu-aXeMULLky-AU0ufZS5BEXYBdBgYyC8EVwnXBCGhxPeZrSUQH_sPGofyvsEKdupKD8PjO6CpeBJ705302vMfgCDkOdBEw5AsSR79Gpt1yfx_foVDHqHFwSadOFMbkDQcMrBriGfgZ5eaVpNSiiDK0nYVENXD6pWusJOtEpxLpWsq6l75Uaok2i5akStcceltu2rMU2rWhRWVK6TXNZC8Jor0ch6s7V1I8y23QqrrNpt2ZbjWTu_8f5y3sRlrFxKGbudEI2qvDbo0zqjUga8wvqRSVlGdulKzYvJY2Jb7l2i9KlCjjx2f_1RoBgh0eIsQQz_HwrW8iovvpuI5lSGf-3y6GjKZmPjmcljMXzcXuYl_kZLTB5XzMTkcY3xJwAA___-QhPj">