<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/131741>131741</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Add option for aligning asterisk and variable name
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
alan-gu
</td>
</tr>
</table>
<pre>
I'm using C++ but I think this could be applied to some other languages.
I have
```
struct {
int a;
bool *b;
}
```
clang format will make it
`
struct {
int a;
boot *b;
}
`
but I want it to be
`
struct {
int a;
boot *b;
}
`
the difference is aligning a to asterisk or to b.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEkt9u4yoQxp9mfDOqhbEd6gsunFNF6mMMZmxziiECnGrffuUkq1ar1S5C_BHM95sPhnJ2S2DW0J-hf6toL2tMmjyFl2WvTLQ_9DtIteGeXVjwP5BnkGc0e8F3LKsLH8eYcYq7t2gY6Xr1ji2WiDlujLGsnNBTWHZaONcgRhDjO65048caTuLZxZhL2qeCoM4IYnShIEF7BjGaGD2CHM1jC-rtt0gQ43RQcI5po4Kfznvc6IPRlefV7_JP9Xv7QpQ_IsT4sPtJoaArhzXD-HfRf2uWldG6eebEYWJ0Gcm7JRyvTAeCcuHk8gfGdCfWldWtHdqBKtaN6qR8FapR1aqV6OZB2EHNjRXG9P3UM516pXrRkzidKqelkL1om1dx6pte1a9zN6lOKW7brrXDAJ3gjZyvvb9tdUxL5XLeWTdto7qm8mTY53uNSBn4E--nIOVRMkkfQS9mXzJ0wrtc8pdMccWzHq3FeC0uhuN3vvn8ZZGCxRslR8YzBtq42pPXaynXDO0I8gLysriy7qae4gbycgCe08s1xf95KiAv97QyyMsz75uWPwMAAP__fa7fTA">