]> granicus.if.org Git - clang/commit
clang-format: Fix corner case in builder-type calls.
authorDaniel Jasper <djasper@google.com>
Fri, 30 Aug 2013 07:12:40 +0000 (07:12 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 30 Aug 2013 07:12:40 +0000 (07:12 +0000)
commiteb331832830c51322a225a3de480189c7d6d7503
tree9360c52b4ba65504f3dece5f65842324db91c494
parent51a31e1da76cc0906e4708ae15e2f7ecf1ba5f13
clang-format: Fix corner case in builder-type calls.

Before:
  aaaaaaaaaaaaa->aaaaaaaaaaaaaaaaaaaaaaaa()->aaaaaaaaaaaaaae(
                                                 0)->aaaaaaaaaaaaaaa();

After:
  aaaaaaaaaaaaa->aaaaaaaaaaaaaaaaaaaaaaaa()
      ->aaaaaaaaaaaaaae(0)
      ->aaaaaaaaaaaaaaa();

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