Added semantic checks for method declarations.

This commit is contained in:
Erik Verbruggen
2009-07-31 13:22:32 +02:00
parent b54517ad0f
commit b713f1772a
9 changed files with 83 additions and 9 deletions

View File

@@ -63,6 +63,7 @@ public:
virtual ~CheckSpecifier();
FullySpecifiedType check(SpecifierAST *specifier, Scope *scope);
FullySpecifiedType check(ObjCTypeNameAST *typeName, Scope *scope);
protected:
SpecifierAST *switchSpecifier(SpecifierAST *specifier);
@@ -79,6 +80,8 @@ protected:
virtual bool visit(TypeofSpecifierAST *ast);
virtual bool visit(AttributeSpecifierAST *ast);
virtual bool visit(ObjCTypeNameAST *ast);
private:
SpecifierAST *_specifier;
FullySpecifiedType _fullySpecifiedType;