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

    <tr>
        <th>Summary</th>
        <td>
            Aligned comments after closed brace is throwing error 
        </td>
    </tr>

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

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

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

<pre>
    #include <stdio.h>

int main()
{
 int x;
    if (x >= 1)
    {
        if (x > 1)
        {
 printf("x is greater");
        } /*2ndtif*/
    } /*1stif*/
}
the above snippet works well with the clang-17.0.6 but where as with clang-format 18.1.1 , I get the below error
test.c:12:6: error: code should be clang-formatted [-Wclang-format-violations]
    } /*1stif*/
     ^
     I have used the same .clang-format file for both the versions
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMU71ypDwQfJohmVpKSPwsAQFrvFVOv-SLBRpAPoG2JLH43v4KWJ_Xjo4ANHT3TGukkd7rYSaqILtA1kRyCaN11X_ynfzYSC-djlqrflfAhZ47syhCEC8-KG3jEcQrsAZYfbz1HHCSegZ-Bl4-kOJyLHBDP0B8hoioewR-_sAtjWgw-SvawC_h43li_6B-p9-cnkO_e-AfqD0OjmQgB5xvKnH5KWwQ-BV4zWcVdA-83sInH5944n_AUDTHIoyEsrV3Qj_r240Crtb98riSMbjqMOLG6Iych1NSxCzOsV0CriM5QukPygH31k0yYHKOkzhB4C_4hgOFPUFLxq5Izln3qEs-xB2IOuEg6hxE_UBFjZ1VhH60i1HY0rfsgRRCdjn9__zzdNfWyKDt7CFr_mn_R_-y16foDUd5J1w8qd2ylxNh_G1rvTaEvXXY2kdj7uT8VjdSlVClKGVEVVIkBSvyJGPRWCV5mgol276XrOszyoVkRZ-Ls2SlktRGuuKMpywTLBEiy1ictiJVOctVqbgsmYKU0SS1iY25T7F1Q6S9X6gqxZmzyMiWjN9ngPOZVtzB7cJkTeSqTXNql8FDyoz2wX9lCToYqmqzDZHCzk4TzcGj7AM57Izd-tA62dF2EcPo7Krn4TgkjBZnqjGEmwexN5VfBx3GpY07OwG_bkUen9PN2XfqAvDrbs0Dvx7W7xX_EwAA__8JoR0p">