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/Semantic.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/Semantic.h')
-rw-r--r-- | src/shared/cplusplus/Semantic.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/shared/cplusplus/Semantic.h b/src/shared/cplusplus/Semantic.h index c9e1c5263f..a804a72328 100644 --- a/src/shared/cplusplus/Semantic.h +++ b/src/shared/cplusplus/Semantic.h @@ -51,7 +51,7 @@ #include "CPlusPlusForwardDeclarations.h" #include "ASTfwd.h" - +#include "FullySpecifiedType.h" namespace CPlusPlus { @@ -67,7 +67,8 @@ public: TranslationUnit *translationUnit() const; Control *control() const; - FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope); + FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope, + const FullySpecifiedType &type = FullySpecifiedType()); FullySpecifiedType check(DeclaratorAST *declarator, const FullySpecifiedType &type, Scope *scope, const Name **name = 0); // ### ugly @@ -87,7 +88,8 @@ public: const Name *check(NestedNameSpecifierListAST *name, Scope *scope); - FullySpecifiedType check(ObjCTypeNameAST *typeName, Scope *scope); + FullySpecifiedType check(ObjCTypeNameAST *typeName, Scope *scope, + const FullySpecifiedType &type = FullySpecifiedType()); void check(ObjCMessageArgumentDeclarationAST *arg, Scope *scope); |