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

    <tr>
        <th>Summary</th>
        <td>
            Clang-format: Have an option to add a comment at the closing brace of a loop, switch, case etc
        </td>
    </tr>

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

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

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

<pre>
    There is an option to add a comment giving the name of a namespace at the closing brace of a namespace (FixNamespaceComments).
My wish is to have something similiar at the closing brace of loops, switch, case, if, else showing the respective instrution at the opening brace.
Maybe with a minimal number of lines between opening and closing brace and a seperate option for each of the mentioned instructions.
Would be great help!
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8Uk1v4zgM_TXyhWhg00mTHHzodhEssOieFpgzLdGWBvowRDmZ_vuBPGln0EHnYok0-fge9UjEzZF5UIe_1OHvhtZiUx5e8suUU_i3GZN5Hf63nBmcAEVIS3EpQklAxgCBTiFwLDC7q4szFMsQKTCkCWi7yUKagcr2S_sktWzMNfmhRuHp4r799xY__0AWheedap9eXuHmxFYaJYGlK4OkwMVWPHHBeUf50zk-pUUUPoPcXNG23jQJ19NN9cteGMSm25uKzLKwLu7K4KKUvG667_hp4fiOv7Gj15Hh5ooFguCiC-QhrmHkvI13kQVGLjfm-N5N0XxgWjMEwgtnKvy27CllYNK2ItXpdS0uRTZ3ZrpGUml8Sas3MDLMmamAZb8o7Boz9Obcn6nhoTv2p_bYnvDQ2GHcE45I3fGxw0fTHzW3PPam7c84debUNm7AFg9th6eux2N72CFjx705dKab-pYntW85kPM7769hl_LcOJGVhw73x33XeBrZy2YuRO0pzg9TyoGKQqx2y0PtexjXWdS-9U6K_EQqrngenn_t6p_gn_ryfzDi506rHvjdAsBFN2v2gy1lEdU_KbwovMyu2HXc6RQUXiql-_Gw5PSVdVF42ZSKwstd7HXA7wEAAP__cQAgkg">