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

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 25 03:27:15 PDT 2018


klimek added inline comments.


================
Comment at: unittests/Format/FormatTest.cpp:4359
+               "    return 3;\n"
+               "  }).as("");\n"
+               "}");
----------------
What would be interesting is tests that:
a) have another value after the closing }; doesn't really make sense in this test, but usually these are in calls
f([]() { ... }, foo, bar).call(...)

b) make .as("") have paramters that go beyond the limit

c) add another chained call behind .as(""). 


Repository:
  rC Clang

https://reviews.llvm.org/D45719





More information about the cfe-commits mailing list