[PATCH] D40068: Implement more accurate penalty & trade-offs while breaking protruding tokens.

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 17 03:09:51 PST 2017


klimek added inline comments.


================
Comment at: unittests/Format/FormatTest.cpp:9951
+                   "\n*/",
+                   Style));
+
----------------
krasimir wrote:
> Why didn't this get reformatted as:
> ```
>   EXPECT_EQ("int a; /* first line\n"
>             "        * second line\n"
>             "        * third line\n"
>             "        */",
> ```
Added FIXME.


https://reviews.llvm.org/D40068





More information about the cfe-commits mailing list