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

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 26 01:12:21 PDT 2018


klimek added inline comments.


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


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


Repository:
  rC Clang

https://reviews.llvm.org/D45719





More information about the cfe-commits mailing list