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

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 6 08:10:58 PST 2018


benhamilton added inline comments.


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


Repository:
  rC Clang

https://reviews.llvm.org/D43904





More information about the cfe-commits mailing list