diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-07 15:15:29 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-07 15:15:29 +0000 |
commit | decf7bcafd71af8c31cbc17eec1d6d050e2a1ea2 (patch) | |
tree | a6178ae785c63506d3c91a4317d94833e319df3e /lib/Format/Format.cpp | |
parent | f0ab0a38d9482eef5495db845ff53ee689f9c80e (diff) |
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171740 91177308-0d34-0410-b5e6-96231b3b80d8
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"); |