Issue 63898
Summary Clangd puts parameter name hint on UDLs
Labels new issue
Assignees
Reporter danakj
    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;
}
```

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to