From 9efa5d940acd0d000cc76515d5dbafa519c3d33f Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Tue, 23 Mar 2010 12:04:44 +0100 Subject: Added __attribute__ visiting, and storing of the deprecated attr. --- src/shared/cplusplus/Semantic.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/shared/cplusplus/Semantic.h') 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); -- cgit v1.2.1