https://github.com/localspook commented:
It seems very surprising that the check will warn on this:
```cpp
f(my_type {10, "hm"});
```
but *not* on this:
```cpp
f(my_type(10, "hm"));
```
We should warn on both or neither.
Also, do we want to put this new behaviour behind an option? (general question
to other reviewers)
https://github.com/llvm/llvm-project/pull/180408
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits