Closed
Description
This is confusing because UDLs are not visibly a function call.
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:
int main() {
return val: 3_lit;
}