<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylUsFu3CAQ_Rp8GcVisb3ePfiQdLOn7K1qz9iMbRKMLcBR9-874KzSRD1UKULADDDz3ptpZ3Vtvo8yMFF7kDBpOzvQ3q-YM35i_H5bf-owwtPTjwv4cDXIxDeQRg92Qhtg7qGbp3j09JXMHnQPYUSHW1gLOC3hCq2Zu5fbW5AhvoEWB22ttkOMEx1G21vyi7Z6kgYcLm5mxRsYtudvczPFmYn7NM8QR3Kct0sdE7Hi4YPzc4C0Pv5asAuo_jHN15IQIRXF62c3yRAia1KsJ8afJAtgUHoKC54eGYRulE4SPqqO3XT7U8w8U02hjsVRZnIN4-ya6WV1Cp-z1ZlmDGHxkVeCN1At1zann2QY83rb7kjjZ5KAzNQAng5VUZa7bGwqydtSVbhHrPecH3vkRXHgh65XVa1UkRnZovENqx6YEO060Bp50tYZaYe7jXD0Vqfs_xHpRnAh-E7UO17yss4FllXVHbr22HZFyzkrOU5SmzzGyWc3ZK5JIQmbp0ujffDvl9J76mbERIAQBh1MMj6gr05w0T41PioIjuLHCr43_1aZxaFH22Fs6L_3fpboNInLb1sVE5c>53441</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Misaligned trailing comments in the presence of an empty block comment
</td>
</tr>
<tr>
<th>Labels</th>
<td>
bug,
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mkurdej
</td>
</tr>
</table>
<pre>
That's a minor issue.
With LLVM style, alignment of comments is off if there's an empty block comment at the beginning of the line.
Minimal repro:
```
/**/ //
int a; //
```
Expected:
```
/**/ //
int a; //
```
Mind, formatting is fine if there's at least a single character in the block comment.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydUk1v3CAQ_TX4MorFYrxbH3xIut1T9la1Z4zHNgnGK8BR9t93wFmliXqoYiFgPvxm3hu6pb-2PycVmTgEUDAbt3gwIaxYMn5k_H7bf5s4wePjrzOEeLXIxHdQ1oxuRhdhGUAvc7oG-pXMAcwAcUKPG6wDnC_xCp1d9PMtF1RMOdDhaJwzbkw4yWGNuxU_G2dmZcHjxS-semuG7fnb2kxxYuI-rxOkLztOW9CkQqx6-OD8DJD3H68X1BH7_yzztSJEqE_iDYufVYyJNSk2EONPkkWwqALBQqAki6An5RX1R9Nxm25_i1kWfVv1TdWoIpposWX1g7bKjXdbJVYf4WxCnhn2EL0yNhV_n9sGevEY0GlMs_j32IrV23aK8RKSUJnvSI9j7UpKIMPal9txR0N7Ik3JzC8q0KWupNwVU8ubRjdSHvZKabGX9W5oBql6VXGxx64aCqs6tCHxYEJ060h7Eo6OD7zIWx8L0wouBN-Jw45LLg-lQFnX-pvumk5XHedMcpyJc5n6Khc_Fr7NLRJyoKA1IYb3oAohCZVlTPhqjdPi2_l59T0-FZlNm6n8AauS_ec">