zwuis wrote:

I found another test case:

```cpp
struct S {
  S(int) {}
  template <typename T> // valid iff T = S
  S(const T&) : T(42) {}
};
```

It seems that we should diagnose it in `Sema::ActOnMemberInitializers` (ends 
with 's', not `Sema::ActOnMemberInitializer`).

https://github.com/llvm/llvm-project/pull/201379
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to