forked from qt-creator/qt-creator
Fixed semantic checks for Objective-C methods and fast-enumeration.
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user