Fixed semantic checks for Objective-C methods and fast-enumeration.

This commit is contained in:
Erik Verbruggen
2009-08-05 18:30:18 +02:00
parent ca34b0ca1c
commit 86a7b26fcd
17 changed files with 277 additions and 32 deletions

View File

@@ -2997,7 +2997,7 @@ public:
SpecifierAST *attributes;
public: // annotations
Function *symbol;
ObjCMethod *symbol;
public:
virtual ObjCMethodPrototypeAST *asObjCMethodPrototype()
@@ -3129,6 +3129,9 @@ public:
unsigned rparen_token;
StatementAST *body_statement;
public: // annotations
Block *symbol;
public:
virtual ObjCFastEnumerationAST *asObjCFastEnumeration()
{ return this; }