diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-07-28 16:34:15 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-07-28 16:34:15 +0200 |
commit | 26267c03445266233159b2f61bbc3a4d5864c01a (patch) | |
tree | 8b7536d8f41fea63adc180d56830a73aae1192ad /src/shared/cplusplus/CheckDeclarator.h | |
parent | a9b521f80af025ac11f9735fc070606952894b60 (diff) | |
download | qt-creator-26267c03445266233159b2f61bbc3a4d5864c01a.tar.gz |
Improved ObjC parsing, and added semantic checks.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclarator.h')
-rw-r--r-- | src/shared/cplusplus/CheckDeclarator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/cplusplus/CheckDeclarator.h b/src/shared/cplusplus/CheckDeclarator.h index 75d027f001..1903c6e26a 100644 --- a/src/shared/cplusplus/CheckDeclarator.h +++ b/src/shared/cplusplus/CheckDeclarator.h @@ -71,6 +71,9 @@ public: FullySpecifiedType type, Scope *scope); + FullySpecifiedType check(ObjCMethodPrototypeAST *methodPrototype, + Scope *scope); + protected: DeclaratorAST *switchDeclarator(DeclaratorAST *declarator); FullySpecifiedType switchFullySpecifiedType(FullySpecifiedType type); @@ -90,6 +93,8 @@ protected: // postfix declarators virtual bool visit(FunctionDeclaratorAST *ast); virtual bool visit(ArrayDeclaratorAST *ast); + // ObjC + virtual bool visit(ObjCMethodPrototypeAST *ast); void applyCvQualifiers(SpecifierAST *cv); |