]> granicus.if.org Git - clang/commitdiff
Fix typo.
authorNico Weber <nicolasweber@gmx.de>
Mon, 7 Jan 2013 15:15:29 +0000 (15:15 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 7 Jan 2013 15:15:29 +0000 (15:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171740 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/Format.cpp

index 4a34ad8e1dbead4b96c43d6720ce42e0e99854e0..9823565dc491ac0465459731034838447402ae24 100644 (file)
@@ -364,7 +364,7 @@ private:
     ++State.ConsumedTokens;
   }
 
-  /// \brief Calculate the panelty for splitting after the token at \p Index.
+  /// \brief Calculate the penalty for splitting after the token at \p Index.
   unsigned splitPenalty(unsigned Index) {
     assert(Index < Line.Tokens.size() &&
            "Tried to calculate penalty for splitting after the last token");