Cleanup specifiers.

This commit is contained in:
Roberto Raggi
2009-11-10 16:00:22 +01:00
parent 4fc2ccf0c5
commit cdb1443219
16 changed files with 236 additions and 304 deletions

View File

@@ -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;
};