aboutsummaryrefslogtreecommitdiff
path: root/Parse/ParseObjc.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-10-15 20:55:58 +0000
committerSteve Naroff <snaroff@apple.com>2007-10-15 20:55:58 +0000
commita642beb9f143130588dcf622f5f7020832b22707 (patch)
tree917abdbd8a32f7c7b3a5313d638ea2e622fd590e /Parse/ParseObjc.cpp
parentec0550fa3653d46560bf4484a2e988329c228e39 (diff)
Fix a parser bug with message expressions - need to call ParsePostfixExpressionSuffix().
Now were correctly allow the following... i = [str rangeOfString:@"]"].length; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Parse/ParseObjc.cpp')
-rw-r--r--Parse/ParseObjc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parse/ParseObjc.cpp b/Parse/ParseObjc.cpp
index 4236314fdf..85559019e0 100644
--- a/Parse/ParseObjc.cpp
+++ b/Parse/ParseObjc.cpp
@@ -1114,7 +1114,7 @@ void Parser::ParseObjCClassMethodDefinition() {
StmtResult FnBody = ParseCompoundStatementBody();
}
-Parser::ExprResult Parser::ParseObjCExpression(SourceLocation AtLoc) {
+Parser::ExprResult Parser::ParseObjCAtExpression(SourceLocation AtLoc) {
switch (Tok.getKind()) {
case tok::string_literal: // primary-expression: string-literal