diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-03-23 12:04:44 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-03-23 14:15:45 +0100 |
commit | 9efa5d940acd0d000cc76515d5dbafa519c3d33f (patch) | |
tree | 4a78bba8dd1b74998f929af44fb3415089fef6eb /src/shared/cplusplus/CheckSpecifier.h | |
parent | f45ff92c28817558509aaca6a5e2f56bcb14bbef (diff) | |
download | qt-creator-9efa5d940acd0d000cc76515d5dbafa519c3d33f.tar.gz |
Added __attribute__ visiting, and storing of the deprecated attr.
Diffstat (limited to 'src/shared/cplusplus/CheckSpecifier.h')
-rw-r--r-- | src/shared/cplusplus/CheckSpecifier.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/shared/cplusplus/CheckSpecifier.h b/src/shared/cplusplus/CheckSpecifier.h index b2653e1b9b..e66b306030 100644 --- a/src/shared/cplusplus/CheckSpecifier.h +++ b/src/shared/cplusplus/CheckSpecifier.h @@ -62,8 +62,10 @@ public: CheckSpecifier(Semantic *semantic); virtual ~CheckSpecifier(); - FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope); - FullySpecifiedType check(ObjCTypeNameAST *typeName, Scope *scope); + FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope, + const FullySpecifiedType &ty = FullySpecifiedType()); + FullySpecifiedType check(ObjCTypeNameAST *typeName, Scope *scope, + const FullySpecifiedType &ty = FullySpecifiedType()); protected: SpecifierListAST *switchSpecifier(SpecifierListAST *specifier); @@ -78,7 +80,7 @@ protected: virtual bool visit(ElaboratedTypeSpecifierAST *ast); virtual bool visit(EnumSpecifierAST *ast); virtual bool visit(TypeofSpecifierAST *ast); - virtual bool visit(AttributeSpecifierAST *ast); + virtual bool visit(AttributeAST *ast); private: SpecifierListAST *_specifier; |