]> granicus.if.org Git - clang/commit
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)
commit3298327e0e6ecb31ca8f3d0996043292e7c860f2
treea85818461d3f1ee9cb066a5da0cd3dec19616011
parentffee17126e10a0e2febfcfbf61d8e0d6e2fcf4c0
Let the formatter be more restrictive for breaking around . and ->

Before:
aaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
    .aaaaaaaaaaaaaaaaaa();

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173160 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp