Issue 137111
Summary enhancing the non-template completion experience with type holes
Labels new issue
Assignees
Reporter illusory0x0
    It looks better than before.

![Image](https://github.com/user-attachments/assets/2e4d4e9e-b76e-4b4f-9d8a-2f74bc302220)


![Image](https://github.com/user-attachments/assets/ed964b4f-59b8-40fc-99e9-bb8dcdcfb1ba)


```C++
struct Hole {
  template<typename T>
  operator T() const noexcept {
    return std::declval<T>();
  }
};


auto $hole = Hole{};

struct X {
  X foo(int x, int y) {
    return $hole;
  }

};
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to