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");
 }
 }
```


![Image](https://github.com/user-attachments/assets/5bc9a5cc-2483-441d-a8b4-92f29b1c2861)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to