klimek added inline comments.

================
Comment at: unittests/Format/FormatTest.cpp:8007
+            "    \"aaabbbcc ddde \"\n"
+            "    \"efff\");",
             format("someFunction(\"aaabbbcc ddde efff\");",
----------------
krasimir wrote:
> Why did the string got on a newline here?
Because then we break inside the string less often? That seems clearly better 
than before?


================
Comment at: unittests/Format/FormatTestComments.cpp:2456
                    "       */a);",
-                   getLLVMStyleWithColumns(15)));
+                   getLLVMStyleWithColumns(16)));
 
----------------
krasimir wrote:
> Why change `15` to `16`? The same for the subsequent cases.
Because we're breaking before the comment now (see above), which according to 
the doc I wrote you agree is better, but changing all the tests seemed to then 
test something completely different.


https://reviews.llvm.org/D40068



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

Reply via email to