forked from qt-creator/qt-creator
Added semantic checks for method declarations.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user