diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-10-05 18:02:01 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-10-05 18:02:01 +0200 |
commit | f1e665463b221ff33d714d55683033afdaf46576 (patch) | |
tree | a580aec2664c9977be748d6f93c7d295bb854a50 /src/shared/cplusplus/CheckDeclaration.h | |
parent | b43f279227e7eb074f68f2222a908c568b1e749e (diff) | |
download | qt-creator-f1e665463b221ff33d714d55683033afdaf46576.tar.gz |
Added protocol & class definedness checks, and added property attribute checks.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclaration.h')
-rw-r--r-- | src/shared/cplusplus/CheckDeclaration.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/cplusplus/CheckDeclaration.h b/src/shared/cplusplus/CheckDeclaration.h index 27869c75ca..93ef59f941 100644 --- a/src/shared/cplusplus/CheckDeclaration.h +++ b/src/shared/cplusplus/CheckDeclaration.h @@ -97,8 +97,13 @@ protected: virtual bool visit(ObjCClassForwardDeclarationAST *ast); virtual bool visit(ObjCMethodDeclarationAST *ast); virtual bool visit(ObjCVisibilityDeclarationAST *ast); + virtual bool visit(ObjCPropertyDeclarationAST *ast); private: + bool checkPropertyAttribute(ObjCPropertyAttributeAST *attrAst, + int &flags, + int attr); +private: DeclarationAST *_declaration; Scope *_scope; TemplateParameters *_templateParameters; |