<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59180>59180</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
pointer alignment wrong (since far too long) ;-)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jesko42
</td>
</tr>
</table>
<pre>
```
void
test()
{
bool *base = ( void *) &m_FileBinLayout;
size_t size = sizeof( FileMetaData_t );
}
```
With `PointerAlignment: Right` the pointer should be right aligned as in `bool *base`, but not as in `( void *)`. It should be like `(void *)` or `( void * )`
==> either NO space after and before braces or with one space after and before.
```
( void *)
```
But it does a space after opening, two(!) spaces after void/before asterix and NO space between asterix and closing brace.
```
$ clang-format --version
clang-format version 15.0.2
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx1U9uOmzAQ_Rp4GQWBuSQ88JA0jVSpN_WljysTBvCuY0fYJN1-fceG7IZoiyw8-Jy5nGFc6-a1Cop4XvE-iLcXLZrJsmhswDYBK6fvYL2bDKCn1loCBGxbc4MQpHuyN-Cc_Sk50Vacng5C4k6or_xVjzZI7yIY8RefrN-8vzN066I4n29o-Z5bTgxXwM0xWO9nY1n19P4tbA909lMLZXHYStGpEyrKu4VfoustYWB7hPNEANPrUTZQIwwOBu48sAFuQCgXycucVbpk7BPUowWl7TvnUTgdRfDF3gWX4gVnpie-8UAPiwgEwITcy6Lu-PUZkARS2d9_gDnzIwJvnQquXJZWDwj1QMfGhb26XmiF_2FGiwQPzXwU9BFpR20QFhpN6fgiiT6jEqpzvbJX7ScocfPgOWYm-TFjh7lsbuhM_PH1vYmr0V4R1QI8Sm0o9qRzqeFjJRm5cNWtKM2JW1itLjgYodWEL7AZgSSP4og9xAuxSoqiZDkrYhY2VdqUaclDK6zE6jZO_DZwcB00VUnaqVqS0vIBrNYgtesLXY10t6I9HAdZ9daeDU0odYNWR79trKOjPtGHlJfbtjoP-hmPdCEPwpgRDRl5mWzisK82CT15m_EW07ZskDPeYHtk6yau8zLdhJLXKE0V5LuAMYVX8CHIDvJ9KCoWM5YkLIuTpEizKF7nBU_aTbau87bmRZDFeOJCRq6OSA9dOFS-pHrsDIFSGGveQW6Mu0To01F8PtpeD9UzmhedsdCnrnzp_wCZlVX4">