]> granicus.if.org Git - clang/commit
Don't try to align builder-type continuations on assignments.
authorDaniel Jasper <djasper@google.com>
Wed, 23 Jan 2013 16:58:21 +0000 (16:58 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 23 Jan 2013 16:58:21 +0000 (16:58 +0000)
commitf39c8859b087151617aa2c8b193d0b332503e3ca
treed864eca2d40acd7ed13808ab971358851e6b9342
parentb76d9718caea48b9333979b3da6f3a80110840cb
Don't try to align builder-type continuations on assignments.

Before:
int aaaa = aaaaa().aaaaa() // force break
           .aaaaa();
After:
int aaaa = aaaaa().aaaaa() // force break
    .aaaaa();

The other indent is just wrong and confusing.

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