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

    <tr>
        <th>Summary</th>
        <td>
            Option SkipMacroDefinitionBody broken when there are comments inside macro definition
        </td>
    </tr>

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

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

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

<pre>
    When comments (either with `/** ... */` or `/* ... */`) exist inside the definition of a multi-line macro, the said macro is not ignored when option SkipMacroDefinitionBody  is used.

To reproduce, unzip the attached reproducer and run the command given in the README.txt.

[bug_reproducer.zip](https://github.com/user-attachments/files/15545545/bug_reproducer.zip)

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Us2OnDwQfBpzaQ3y2MAMBx9mv1luq09KIuUYGdwLnQUb-Wf_nj4yrDJaKVoJYXC5q8vVpUOg0SIqVt-x-lroFCfnlVu0H1ySsuideVM_J7QwuGVBGwMwcUaKE3p4oTgBazgTHRMXJi5QliVsnx1rODh_Qz9DTLSArxQikA1kEOKEYPCRLEVyFtwjaFjSHOkwk0VY9OAdE_9t54Ims-8ABbAuAo3WeTTwkoW6daP4_kTrQz50_Ut758wb5JoU0JSMXxm_7O8fDjyu3pk0YG6T7DutWzMdox4mNDfcg7YGfLIbnm3J_yM9owXaN7_dX64P92V8jZ-6sPquT-OvG1P5Tiurr0ycpxjXwORmj-hGilPqy8EtTHQpoD_sMrYBMNE90ox5PdZ1lR8mun8Qi3ZvWxglTStbXaA6no6nqj1WJ1lMygzmXIu6Nc3xJFpZ96hPvEEth0Eez0YWpAQXFW94xc_1qZYlr7RpdGU4R91Xw5lVHBdNcznPz0vp_FhQCAlVW0nRFLPucQ5btoSw-AIbyITIUfMq1xz6NAZW8ZlCDDeWSHFG9f_Xk-y9e0K7Dz3nEUF7vOX0I1l7UG7ZKpKf1Rd2Zw0fy2H17jcOkYluU54t32_2rMSfAAAA__-V8g0e">