<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59058>59058</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Function return pointer and variable pointer are indistinguishable
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
namexiaolu
</td>
</tr>
</table>
<pre>
I want to achieve something like this (Note the location of *)
```
void* hanshu(int *a)
{
return nullptr;
}
```
When the function returns a pointer, * is next to void, and when the pointer is used as a variable, it is next to the variable name.
How can I achieve it?
looking forward to reply, thank you.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUU2P2yAQ_TX4MqoF2I7tA4fNRlH30mvPGM_GbAhEfCSbf19wNtlWqoXkmXnDe2-Gyc038QZXaSNEB1ItGi8IwZ0wLtoewOgjQg4DED78crEkCMYpGbWz4N5z_YXwkdAdoS9kQ7_Oml6cnjMMi7RhSZlAZ5lckN8X-u09gPx5jMlbsMmYc_Sk2T56dv9l_72gXd28J6tWN3eCABLOLkuhJ_y16EG2b_FzHfHu6RWkneH6YPhqL30p4AyycFyk13IyWLp1_JujXHmgYOUJ67ujn-4KSlp4ey5SR9Ls76Bx7lg2-u78Vfq58Hg8m1uhj3lDR7i5VFco2GYz9B0bW1rNopnHZpRV1NGg2P876NN2meXp51n0Wd7OOsSsmnRYClolb8QS4zmQJj_bPp-DjkuaauVOOTHm8vj9OHv3gSrmVIeQMOSgG2k3VItgCtuO02Hsmqlr2l6Nqu0mxXq2YRIVq4yc0ARBui3h3OIVVoock25XacEp54yxgW4Y57TGtun6oadSYTMqHElL8SS1qYuP2vlD5cVqaUqHkEGThwrfoAxBHyziKpf5ZYqL86I8zKeWzqRqVRer-z8WS_GP">