================

----------------
zwuis wrote:

IIUC the following code is incorrectly warned:

```cpp
struct S : B1, B2 {
  template <typename T> // valid iff T = B2
  S(T) : B1(), T() {}
};
```

I think adding

```cpp
if (/* having dependent types */)
  return;
```

around here is a better approach if we cannot handle dependent types gracefully.

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

Reply via email to