<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63898>63898</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clangd puts parameter name hint on UDLs
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
danakj
</td>
</tr>
</table>
<pre>
This is confusing because UDLs are not visibly a function call.
```cpp
int inline consteval operator""_lit(unsigned long long val) { return 0; }
int main() {
return 3_lit;
}
```
When the above is annotated by clangd, it puts `val: ` in front of `3_lit`, it looks like this:
```cpp
int main() {
return val: 3_lit;
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMUkuPmzAQ_jXmMtrI2AmPA4fNRjn12KrHagwT8MbYyB5S5d9XPFa7p7YSMjDD95iPwZRs74kacTqL0yXDmYcQmw493t8zE7pn832wCWyCNvjbnKzvwVCLcyL4cfmWACOBDwwPm6xxT0C4zb5lGzy06NxByIuQr_tZyO1qp2mrWM9gvbOeFv7E9EAHYaKIHKJQSij1y1kWqpr96rQDF3y_HQ90QtUgyjNE4jl6kEKfQZSXr6KLxIjWC1XtX291APiA6VVD741P_Ifdr3Q_B_LAAwGa8KAlGPQ-MDJ1YJ7QOvR9J9QbWIZp5gSikItR_bo8gfVwi8EzhNvyvikXcge4EO4JnL0T8GCT0H8N7h9T7ar_N1zWNbqrdY0ZNXlR1Sdd6JPKhqbtTK3KspZEpsIqb1Vdal2RKWSh667LbKOk0rLMi7zWda4OGs1Ro6zynEojcymOkka07uDcYzyE2Gc2pZmaQld1lTk05NK6f0p5-g1rc_n1p0sWmwXzYuY-iaN0NnH6ZGHLjpq3NfAt6gkjjsQUweNIMCwhBb_uaTZH1wzM0xqqugp17S0Pszm0YRTqurDut5cphndqWajr6iUJdV29_gkAAP__zxj08g">