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

    <tr>
        <th>Summary</th>
        <td>
            Unclear use case of MaxEmptyLinesToKeep
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            documentation,
            clang-format
      </td>
    </tr>

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

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

<pre>
    Hi!

I notice that clang-format has added the `AlignTrailingComments` option, with sub-options `OverEmptyLines` and `MaxEmptyLinesToKeep`. I don't fully understand the purpose of `MaxEmptyLinesToKeep` if we already have `OverEmptyLines`, could this clarified? 

For consistency it would be good to also clarify that `MaxEmptyLinesToKeep` is of type `unsigned`.

Thanks!


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8ks9unDAQxp_GXEa7Ym2WhQOHNClq1Fa9pA8w2AO4NTbyn03p01dmIyWq0l5AGnt-_r75BkPQkyXq2PkDOz8UmOLsfCfRGxcmNFf6vRaDU1v3STN-YuUDK-9u30ewLmpJEGeMIA3a6TA6v2CEGQOgUqQgzgSsLu-MnuyTR220ne7dspCNgdUluDVqZxm_h2cdZwhpONxKIbd9u5L_uKxx-6It7ffRqnzwFX-91p_cZ6KV1eURHkFl2iXCmIzZIFlFPsTclZWsya8uELjx3xDQIzwToPGEaoMZr_SulKxZumQyWYfs3-tRk2Kih7dj6p0H6WzQIZKVG-gIz3vbQDA5pyA6QBPcC2G7jfM_8kKWH7d1l5Xsnp_K7t---jSj_Rn-SqxQnVCtaLGg7lQ35am5nHlTzN1YV1Vzqi5NWw71QJUah0aSUCNiS2cpC93xkotSiPJUVWfeHAVSK9uxHoVom3q8sKqkBbU5GnNdjs5PhQ4hUVefmkoUBgcyYd8xzpWTKeePt-Q54_eM87f7k4vnh8J3GXYY0hRYVRodYnjFRx0Ndd-tNIQeUiCQeEv2nbkVyZtujnENTNwx3jPeTzrOaThKtzDeZ-rL77B694NkZLzfHQTG-93EnwAAAP__yvgJYg">