[PATCH] D40605: Better trade-off for excess characters vs. staying within the column limits.

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 30 09:14:28 PST 2017


krasimir added inline comments.


================
Comment at: unittests/Format/FormatTest.cpp:10007
+            format("// foo foo foo foo foo foo foo foo foo foo foo foo\n",
+                           Style));
 }
----------------
Could you also add a test with line comments surrounded by stuff, like in:
```
int f() {
  int a = /* long block comment */ 42;
}


Repository:
  rC Clang

https://reviews.llvm.org/D40605





More information about the cfe-commits mailing list