[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:33:15 PST 2018


stephanemoore created this revision.
Herald added subscribers: cfe-commits, klimek.

Defaulting BinPackArguments and BinPackParameters to false is a better representation of Google Objective-C style.


Repository:
  rC Clang

https://reviews.llvm.org/D42014

Files:
  lib/Format/Format.cpp


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


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


More information about the cfe-commits mailing list