Enable bin-packing in Google style.
authorDaniel Jasper <djasper@google.com>
Wed, 27 Feb 2013 09:47:53 +0000 (09:47 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 27 Feb 2013 09:47:53 +0000 (09:47 +0000)
commit2cf17bfcc124afe12f4a966e60f20b24637ff35a
treeac4addfd69398ad3014424cb3d13e73f3501ac26
parent5e5421a64520e171f363e19c2dc5d6617a1d4461
Enable bin-packing in Google style.

After some discussions, it seems that this is the better path in
the long run. Does not change Chromium style, as there, bin packing
is forbidden by the style guide.

Also fix two minor bugs wrt. formatting:
1. If a call parameter is a function call itself and is split before
   the "." or "->", split before the next parameter.
2. If a call parameter is string literal that has to be split onto
   two lines, split before the next parameter.

llvm-svn: 176177
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp