Sirraide wrote:

Also, it’d probably also be a good idea to add a test like
```c++
struct A {
    A(double f) {}
};
float f;
A a{f};
```
to make sure we only suppress the diagnostic if the type we’re 
list-initialising is actually `double`/`long double`.

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

Reply via email to