diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 16:00:22 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 16:20:13 +0100 |
commit | cdb144321926d1c43242deeaffa0fb8e55873014 (patch) | |
tree | cda282ed4498efe2aaa9e83a294aa33ec5973cf8 /src/shared/cplusplus/CheckSpecifier.h | |
parent | 4fc2ccf0c5af6d93b1edca95518043b84e342c67 (diff) | |
download | qt-creator-cdb144321926d1c43242deeaffa0fb8e55873014.tar.gz |
Cleanup specifiers.
Diffstat (limited to 'src/shared/cplusplus/CheckSpecifier.h')
-rw-r--r-- | src/shared/cplusplus/CheckSpecifier.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/cplusplus/CheckSpecifier.h b/src/shared/cplusplus/CheckSpecifier.h index 9f06a43771..4a46d90174 100644 --- a/src/shared/cplusplus/CheckSpecifier.h +++ b/src/shared/cplusplus/CheckSpecifier.h @@ -62,12 +62,12 @@ public: CheckSpecifier(Semantic *semantic); virtual ~CheckSpecifier(); - FullySpecifiedType check(SpecifierAST *specifier, Scope *scope); + FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope); FullySpecifiedType check(ObjCTypeNameAST *typeName, Scope *scope); protected: - SpecifierAST *switchSpecifier(SpecifierAST *specifier); - FullySpecifiedType switchFullySpecifiedType(FullySpecifiedType type); + SpecifierListAST *switchSpecifier(SpecifierListAST *specifier); + FullySpecifiedType switchFullySpecifiedType(const FullySpecifiedType &type); Scope *switchScope(Scope *scope); using ASTVisitor::visit; @@ -83,7 +83,7 @@ protected: virtual bool visit(ObjCTypeNameAST *ast); private: - SpecifierAST *_specifier; + SpecifierListAST *_specifier; FullySpecifiedType _fullySpecifiedType; Scope *_scope; }; |