From abadf320705faf974c689f23cf11ed38730dfb3b Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Fri, 13 Aug 2010 10:30:33 +0200 Subject: Handle symbol visibility. --- src/shared/cplusplus/Bind.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shared/cplusplus/Bind.h') 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 -- cgit v1.2.1