Cleanup ptr operators.

This commit is contained in:
Roberto Raggi
2009-11-10 15:30:16 +01:00
parent 1fb33e9fad
commit 4fc2ccf0c5
12 changed files with 49 additions and 54 deletions

View File

@@ -63,20 +63,20 @@ public:
virtual ~CheckDeclarator();
FullySpecifiedType check(DeclaratorAST *declarator,
FullySpecifiedType type,
Scope *scope,
Name **name);
const FullySpecifiedType &type,
Scope *scope,
Name **name);
FullySpecifiedType check(PtrOperatorAST *ptrOperators,
FullySpecifiedType type,
Scope *scope);
FullySpecifiedType check(PtrOperatorListAST *ptrOperators,
const FullySpecifiedType &type,
Scope *scope);
FullySpecifiedType check(ObjCMethodPrototypeAST *methodPrototype,
Scope *scope);
protected:
DeclaratorAST *switchDeclarator(DeclaratorAST *declarator);
FullySpecifiedType switchFullySpecifiedType(FullySpecifiedType type);
FullySpecifiedType switchFullySpecifiedType(const FullySpecifiedType &type);
Scope *switchScope(Scope *scope);
Name **switchName(Name **name);