Let the formatter be more restrictive for breaking around . and ->
authorDaniel Jasper <djasper@google.com>
Tue, 22 Jan 2013 14:28:24 +0000 (14:28 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 22 Jan 2013 14:28:24 +0000 (14:28 +0000)
commit50e7ab718511c2a3a09ebe811777d809c2bcb3ca
treec803c4966cafa88a40cd8da0d140035a35f4601d
parentea83bafbdac20f08fe15f8d86a8d0f8c9a3bd262
Let the formatter be more restrictive for breaking around . and ->

Before:
aaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
    .aaaaaaaaaaaaaaaaaa();

After:
aaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaa,
                aaaaaaaaaaaaaaaaaaaaaaa).aaaaaaaaaaaaaaaaaa();

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