diff options
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r-- | lib/Format/Format.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 4a34ad8e1d..9823565dc4 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -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"); |