Slightly improve formatting of longer pipe statements.
authorDaniel Jasper <djasper@google.com>
Thu, 14 Mar 2013 14:00:17 +0000 (14:00 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 14 Mar 2013 14:00:17 +0000 (14:00 +0000)
commitf38a0ace2dddb636026d433ffcbff83b67ae8dc8
tree65bfe9c79b090dea5cb21b804dd1cf41ba46bc99
parent1cb684381a8ff13b8c4973a93bd78e39e2472ddf
Slightly improve formatting of longer pipe statements.

The stronger binding of a string ending in :/= does not really make
sense if it is the only character.

Before:
llvm::outs() << aaaaaaaaaaaaaaaaaaaaaaaa
             << "=" << bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb;

After:
llvm::outs() << aaaaaaaaaaaaaaaaaaaaaaaa << "="
             << bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb;

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