summaryrefslogtreecommitdiffstats
path: root/lib/Format/FormatToken.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-05 16:25:25 +0000
committerAlp Toker <alp@nuanti.com>2013-12-05 16:25:25 +0000
commit0fb788878818bb12b803e614a242fa6efe845260 (patch)
treeb37519d7c3d8ed358532ace4a9a67c6a949a9bb1 /lib/Format/FormatToken.cpp
parent8e674ff884113429b53d23b18409caf67aaec1b7 (diff)
Fix a tranche of comment, test and doc typos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/FormatToken.cpp')
-rw-r--r--lib/Format/FormatToken.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/FormatToken.cpp b/lib/Format/FormatToken.cpp
index bab2425205..748e2fd84a 100644
--- a/lib/Format/FormatToken.cpp
+++ b/lib/Format/FormatToken.cpp
@@ -50,7 +50,7 @@ unsigned CommaSeparatedList::format(LineState &State,
const ColumnFormat *Format = getColumnFormat(RemainingCodePoints);
// If no ColumnFormat can be used, the braced list would generally be
// bin-packed. Add a severe penalty to this so that column layouts are
- // prefered if possible.
+ // preferred if possible.
if (!Format)
return 10000;