[PATCH] D45526: [clang-format] Prefer breaking after ObjC category close paren

Daniel Jasper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 12 07:58:11 PDT 2018

djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.

Looks good.

Comment at: lib/Format/TokenAnnotator.cpp:2276
+  // In Objective-C type declarations, prefer breaking after the category's
+  // close paren instead of after the open paren.
+  if (Line.Type == LT_ObjCDecl && Left.is(tok::l_paren) && Left.Previous &&
This is still using the old wording.

  rC Clang


More information about the cfe-commits mailing list