]> granicus.if.org Git - clang/commitdiff
x
authorDaniel Jasper <djasper@google.com>
Thu, 3 Apr 2014 12:00:27 +0000 (12:00 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 3 Apr 2014 12:00:27 +0000 (12:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205526 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/ContinuationIndenter.cpp

index 5aa3f4f8c6c7eb75da58fa245a37b509d905334e..38086379fe7466640e4047675082d9da72d7f87f 100644 (file)
@@ -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 ||