aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseObjc.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-12 06:36:00 +0000
committerChris Lattner <sabre@nondot.org>2010-04-12 06:36:00 +0000
commit1e46136c5222ad040fd783ca7ee6b2215f0b89d6 (patch)
tree6f2cc323b9837297be976632de3a9b5f7d7aa742 /lib/Parse/ParseObjc.cpp
parenta823d6ad69beccfbc5f36db742b74e2e3ae73cee (diff)
fix a bug I noticed by inspection, correcting two reject-valid bugs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseObjc.cpp')
-rw-r--r--lib/Parse/ParseObjc.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp
index 42076a244e..6c5053d4fb 100644
--- a/lib/Parse/ParseObjc.cpp
+++ b/lib/Parse/ParseObjc.cpp
@@ -1723,7 +1723,6 @@ Parser::OwningExprResult Parser::ParseObjCMessageExpression() {
// If this is '[' 'super', then this is a magic superclass message.
// We parse '[' 'super' '.' 'foo' as an expression?
- // FIXME: Not in ParseInit.cpp?
if ((II == Ident_super && GetLookAheadToken(1).isNot(tok::period) &&
CurScope->isInObjcMethodScope()) ||
// Check to see if this is a typename. If so, it is a class message.