<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/119304>119304</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
When formatting .h files using the .clang-format file, the format seems incorrect.(Automatic indentation for comments)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
TwoBrushes
</td>
</tr>
</table>
<pre>
clang-format version: 19.1.4
The attachment is the source file and .clang-format file.
![Image](https://github.com/user-attachments/assets/961d391b-4dfc-4649-bbff-4ab4aa8167dc)
[clang-format.zip](https://github.com/user-attachments/files/18070107/clang-format.zip)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyckc2O3CoQhZ8Gb5ARFLjdLFh035Glux8pa37KNpFtRoAnSp4-srulmWikLLIqKFR1DuezpcRpQzSku5PupbF7nVM2rz_SPe9lxtK4FH4av9htaseUV1vpO-YS00bkjQrNBFOE3wi_vc5Iba3WzytulcZC64y0pD17pGNckNotUPbHqqPNHuMEBOnu_692QtK9ELjOtb4VIm8EBgLDFOu8O-bTSmDYC-b2Q6sQGGwpeB70RQSphWtVGH2rLkq3zo1jq6xT1l7FpQ-egH6KdvfPftiv-PYv4sc3jiquvOeC9wSGL2tPySYYGbTUtkEjeil7LTuQzWyUdl5z7rTlgYPW0quLcq4LDvqxD30TDXBQAgTnQlwVMD12odcSJAjtLXqiOK42LmxZ3leW8tTEUnY0QmjJVbNYh0s5MQN8NkcADvDZHHOt26dCFF9iqeVjU411QfNtxo0-hmrcJsrmk1-hezmuB-2vdAn8d748WwVxLTRuPuWMvjIC19te02pr9DRuAbdqa0ynDvVpfSasmz0v5i9QDqvP0r7l9B19JTCcCZxgHiG8G_gdAAD__2y-8ik">