summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Semantic.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-03-23 12:04:44 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-03-23 14:15:45 +0100
commit9efa5d940acd0d000cc76515d5dbafa519c3d33f (patch)
tree4a78bba8dd1b74998f929af44fb3415089fef6eb /src/shared/cplusplus/Semantic.h
parentf45ff92c28817558509aaca6a5e2f56bcb14bbef (diff)
downloadqt-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.h8
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);