[PATCH] D43904: [clang-format] Improve detection of ObjC for-in statements

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 6 05:23:46 PST 2018

krasimir added inline comments.

Comment at: unittests/Format/FormatTest.cpp:778
+TEST_F(FormatTest, ObjCForInLoop) {
+  verifyFormat("for (Foo *x = 0; x != in; x++) {\n}");
Please move the ObjC-specific instances to `FormatTestObjC.cpp`.

  rC Clang


More information about the cfe-commits mailing list