[PATCH] D42014: Disable BinPackArguments and BinPackParameters in Google Objective-C style ⚙️

Stephane Moore via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 15:39:57 PST 2018


stephanemoore updated this revision to Diff 129718.
stephanemoore added a comment.

Sorted the Objective-C configuration for consistency.


https://reviews.llvm.org/D42014

Files:
  lib/Format/Format.cpp


Index: lib/Format/Format.cpp
===================================================================
--- lib/Format/Format.cpp
+++ lib/Format/Format.cpp
@@ -731,6 +731,8 @@
     GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_None;
     GoogleStyle.SpacesInContainerLiterals = false;
   } else if (Language == FormatStyle::LK_ObjC) {
+    GoogleStyle.BinPackArguments = false;
+    GoogleStyle.BinPackParameters = false;
     GoogleStyle.ColumnLimit = 100;
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42014.129718.patch
Type: text/x-patch
Size: 476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180112/6ee40e1f/attachment.bin>


More information about the cfe-commits mailing list