summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Bind.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-08-13 10:30:33 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2010-08-13 10:30:33 +0200
commitabadf320705faf974c689f23cf11ed38730dfb3b (patch)
tree5f9d7ef3e80ebdc801a615058768d69170505206 /src/shared/cplusplus/Bind.h
parent849a52aead074fd7c91e0a33a3abc5031df3b2d9 (diff)
downloadqt-creator-abadf320705faf974c689f23cf11ed38730dfb3b.tar.gz
Handle symbol visibility.
Diffstat (limited to 'src/shared/cplusplus/Bind.h')
-rw-r--r--src/shared/cplusplus/Bind.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/cplusplus/Bind.h b/src/shared/cplusplus/Bind.h
index a323bc00b5..e9b5c77b6d 100644
--- a/src/shared/cplusplus/Bind.h
+++ b/src/shared/cplusplus/Bind.h
@@ -79,8 +79,9 @@ protected:
FullySpecifiedType coreDeclarator(CoreDeclaratorAST *ast, const FullySpecifiedType &init);
FullySpecifiedType postfixDeclarator(PostfixDeclaratorAST *ast, const FullySpecifiedType &init);
- Scope *currentScope() const;
Scope *switchScope(Scope *scope);
+ int switchVisibility(int visibility);
+ int switchMethodKey(int methodKey);
const Name *objCSelectorArgument(ObjCSelectorArgumentAST *ast, bool *hasArg);
void attribute(AttributeAST *ast);
@@ -278,6 +279,8 @@ private:
const Name *_name;
FullySpecifiedType _type;
DeclaratorIdAST **_declaratorId;
+ int _visibility;
+ int _methodKey;
};
} // end of namespace CPlusPlus