summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Semantic.h
diff options
context:
space:
mode:
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);