================
@@ -224,3 +224,22 @@ std::array a{1,2,3};
 std::array<int,2> b{10, 11};
 using array = std::array<int, 2>;
 array c{10, 11};
+
----------------
vbvictor wrote:

I think this still needs case like `S18 s183{.a=1, .b=2} // no warning at all`
Probably good to have one nested like
```cpp
struct S20 {
    int i;
    S17 s;
};

S20 s201 {1, 2};
```

https://github.com/llvm/llvm-project/pull/150842
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to