Typz added a comment.

In https://reviews.llvm.org/D34238#781224, @malcolm.parsons wrote:

> Some people write
>
>   auto x = std::map<int, std::string>{
>        { 0, "foo fjakfjaklf kljj" },
>        { 1, "bar fjakfjaklf kljj" },
>        { 2, "stuff fjakfjaklf kljj" },
>    };


This case (and other way `std::map<> x =`) actually already worked, as long it 
ends with a comma: I suppose the braces at the beginning of each item already 
caused a line-break.


https://reviews.llvm.org/D34238



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to