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

    <tr>
        <th>Summary</th>
        <td>
            Wdocumentation-pedantic fails to handle \n newline in a description
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:diagnostics
      </td>
    </tr>

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

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

<pre>
    https://clang.godbolt.org/z/fqncE8MT6

We can use ```<br>``` to start a newline in a description, but ```\n``` gives a warning:
```
/// Test function
/// \returns Value<br>
///          second line
int foo();

/// Another test function
/// \returns Value\n
///          second line
int bar();

 warning: unknown command tag name [-Wdocumentation-unknown-command]
/// \returns Value\n
```
CC'ing @aaronpuchert as this will hopefully just be a minor extension to https://reviews.llvm.org/D111190
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVU01z2yAQ_TXowtgjI8u2DjokSnrp9NJmmjOglUSKFpePuOmv70r22I4nPYRBH8DyeO_tolz7Vg8x7gMr7pj4Ql1bif2yd61yNi6d72nuLz3db9SPu29PG5Y_sPzu-H4GriXyFICzTX7qRaM8Kx7PEzw6HqL0kUuOcLAGgRukQQtBe7OPxiETDVcpXqGUDV4QevMKgXYcpEeD_UT2yOIcfhzOCqjzJwiRdwn1DH6zSNgeYvIY-E9pE5wZ38SdWwDtsOUT82OMQUJ3jokdExUr7q89uey_QxcH8Dx-iswk_FNElPQfErlyiyf8he6AXLtxlIQQZc9RjpS28n7x3DqdRsAoJ4KLU-ziFMvKh09wfp-QpmFiSxQ4W-dSeof7pMkRqoTA42ACPxhr-eD20CVr3_hLIqcUUKZHg85z-BMBA5Gaauh9nXp4NXAIS2tfx1OZPqyoVXnW1kVbFZXMookW6ht5e2glRqN5J40NMzCptJMVDf63QLPk7c1N6U0cklqSTTSYaJw-i713L6AjDU0ICQL9lGWxqrKhFp1Q1WbdCQHdTnW7alNUerUuVvlatB3sMisV2FBTWpgQ812k81oje3SBSBOWoIRkpha5EHmZb1flulhvl53YQdtqpTqVV3muyXAYSeDZn8zXMzmV-kCL1oR4MS-TIZgeAeaDCV-mODhff__6w4wkftZRzyL-Af7LR1w">