[cfe-commits] r171740 - /cfe/trunk/lib/Format/Format.cpp

Nico Weber nicolasweber at gmx.de
Mon Jan 7 07:15:29 PST 2013


Author: nico
Date: Mon Jan  7 09:15:29 2013
New Revision: 171740

URL: http://llvm.org/viewvc/llvm-project?rev=171740&view=rev
Log:
Fix typo.

Modified:
    cfe/trunk/lib/Format/Format.cpp

Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=171740&r1=171739&r2=171740&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Mon Jan  7 09:15:29 2013
@@ -364,7 +364,7 @@
     ++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");





More information about the cfe-commits mailing list