summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckSpecifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/cplusplus/CheckSpecifier.h')
-rw-r--r--src/shared/cplusplus/CheckSpecifier.h8
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;
};