aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-12-21 17:14:23 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-12-21 17:14:23 +0000
commit5f04ef52837c82e99baac4e6041526f829c4e04b (patch)
treeadc8f9aa5556d9b9248568645ec9126da4dc7e63 /lib/Format/Format.cpp
parent87aa2fbc75a897e7c4a4082374aaba3f50db6f0f (diff)
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r--lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp
index fd08de57ba..6983f73499 100644
--- a/lib/Format/Format.cpp
+++ b/lib/Format/Format.cpp
@@ -612,7 +612,7 @@ public:
} else if (Line.Tokens[i].Tok.is(tok::at) &&
Line.Tokens[i - 2].Tok.is(tok::at)) {
// Don't put two objc's '@' on the same line. This could happen,
- // as in, @optinal @property ...
+ // as in, @optional @property ...
Annotation.MustBreakBefore = true;
} else if (Line.Tokens[i].Tok.is(tok::colon)) {
Annotation.SpaceRequiredBefore =