summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-07-15 14:12:30 +0000
committerDaniel Jasper <djasper@google.com>2013-07-15 14:12:30 +0000
commit0d5e44df3cdec90c0d276a645a4d447b7f0187e5 (patch)
tree6c8f7702e3861391ce4056b49134785b54eeb316 /clang/lib/Format/Format.cpp
parentcacb40c6c7277f85bdfe1f601f4b45fd93cebeef (diff)
downloadbcm5719-llvm-0d5e44df3cdec90c0d276a645a4d447b7f0187e5.tar.gz
bcm5719-llvm-0d5e44df3cdec90c0d276a645a4d447b7f0187e5.zip
Improve formatting of operator<< chains.
Before: llvm::outs() << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa; After: llvm::outs() << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa << "aaaaaaaaaaaaaaaa: " << aaaaaaaaaaaaaaaa; llvm-svn: 186320
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index e1a0874e068..f66d95c9109 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -127,7 +127,7 @@ namespace format {
void setDefaultPenalties(FormatStyle &Style) {
Style.PenaltyBreakComment = 45;
- Style.PenaltyBreakFirstLessLess = 100;
+ Style.PenaltyBreakFirstLessLess = 180;
Style.PenaltyBreakString = 1000;
Style.PenaltyExcessCharacter = 1000000;
}
OpenPOWER on IntegriCloud