| Issue |
137108
|
| Summary |
clangd completion result incorrect when use explicit this parameter in VSCode
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
illusory0x0
|
clangd should not complete `this parameter` when use `dot syntax`
```C++
template <::std::floating_point T>
constexpr T to_floating_point(this Self self) noexcept {
if constexpr (arithmetic<Self>) {
return static_cast<T>(self.repr);
} else {
static_assert(false, "This type not support to_floating_point");
}
}
```

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