Typz added inline comments.
================ Comment at: unittests/Format/FormatTest.cpp:1526 + verifyFormat("const struct A a = {[0] = 1, [1] = 2};"); + verifyFormat("const struct A a = {[1] = aaaaaaaaa,\n" + " [2] = bbbbbbbbb,\n" ---------------- djasper wrote: > Typz wrote: > > don't know why this test does not pass similarly to similar one with > > designated member access: in this case, clang-format puts each member in > > column. > I don't understand what you mean here. I did not understand why designated member access [line 1516] was wrapped, while this did not happen with designated array access; but since then I have found out, and updated the code to handle designated array accesses similarly. https://reviews.llvm.org/D33491 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits