summaryrefslogtreecommitdiffstats
path: root/clang/lib
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
commit3b1604e485980908241f0fdbf46d1cb40e1eb801 (patch)
tree3eec6226955f4117598b62b6f9ce62fde679f474 /clang/lib
parent241f45118bcd00aee748ae2ec368e859b9136ef1 (diff)
downloadbcm5719-llvm-3b1604e485980908241f0fdbf46d1cb40e1eb801.tar.gz
bcm5719-llvm-3b1604e485980908241f0fdbf46d1cb40e1eb801.zip
Fix typo.
llvm-svn: 170904
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index fd08de57baa..6983f73499b 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/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 =
OpenPOWER on IntegriCloud