summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/ContinuationIndenter.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-04-03 12:00:27 +0000
committerDaniel Jasper <djasper@google.com>2014-04-03 12:00:27 +0000
commit2b7556ec1632eb587c9dc7a7d40a4eae8703083a (patch)
treed33b23c6561d95f8ab6db6f6fa9ea59ba516cb89 /clang/lib/Format/ContinuationIndenter.cpp
parentc882eb0723afa9dfe626eebb9699c1871a8bbbab (diff)
downloadbcm5719-llvm-2b7556ec1632eb587c9dc7a7d40a4eae8703083a.tar.gz
bcm5719-llvm-2b7556ec1632eb587c9dc7a7d40a4eae8703083a.zip
x
llvm-svn: 205526
Diffstat (limited to 'clang/lib/Format/ContinuationIndenter.cpp')
-rw-r--r--clang/lib/Format/ContinuationIndenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/ContinuationIndenter.cpp b/clang/lib/Format/ContinuationIndenter.cpp
index 5aa3f4f8c6c..38086379fe7 100644
--- a/clang/lib/Format/ContinuationIndenter.cpp
+++ b/clang/lib/Format/ContinuationIndenter.cpp
@@ -350,7 +350,7 @@ unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State,
// Breaking before the first "<<" is generally not desirable if the LHS is
// short. Also always add the penalty if the LHS is split over mutliple lines
- // to avoid unncessary line breaks that just work around this penalty.
+ // to avoid unnecessary line breaks that just work around this penalty.
if (NextNonComment->is(tok::lessless) &&
State.Stack.back().FirstLessLess == 0 &&
(State.Column <= Style.ColumnLimit / 3 ||
OpenPOWER on IntegriCloud