[PATCH] D45719: [clang-Format] Fix indentation of member call after block

Anders Karlsson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 26 04:28:19 PDT 2018


ank added inline comments.


================
Comment at: unittests/Format/FormatTest.cpp:4449-4450
+               "  })\n"
+               "      .foo(\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"\n"
+               "           \"bbbbbbbbbbbbbbbbbbbbbb\");\n"
+               "}");
----------------
klimek wrote:
> One more nit: I'd use a Style with a smaller column limit for these tests, makes them a lot more readable :)
makes sense, I'll do that.


================
Comment at: unittests/Format/FormatTest.cpp:4452
+               "}");
+
+  verifyFormat("test() {\n"
----------------
klimek wrote:
> Are the ones below here testing anything that's not tested above?
nope I'll remove them!


Repository:
  rC Clang

https://reviews.llvm.org/D45719





More information about the cfe-commits mailing list