aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/cplusplus/Symbols.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-08-05 17:14:08 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-08-05 17:14:08 +0200
commitca34b0ca1c57a0ec0f8f61ad1b0dd4f8bfc9b554 (patch)
treef6a3f16210a3d6a2ccfed259be90af8c218ce623 /src/shared/cplusplus/Symbols.h
parentafd9fd824d6d61e5d6698b09bd2fe304977ccad4 (diff)
Cleaned the ObjC AST up.
Diffstat (limited to 'src/shared/cplusplus/Symbols.h')
-rw-r--r--src/shared/cplusplus/Symbols.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/shared/cplusplus/Symbols.h b/src/shared/cplusplus/Symbols.h
index 7bf8de0c89..3f621cde60 100644
--- a/src/shared/cplusplus/Symbols.h
+++ b/src/shared/cplusplus/Symbols.h
@@ -463,7 +463,7 @@ private:
Array<BaseClass *> _baseClasses;
};
-class CPLUSPLUS_EXPORT ObjCForwardProtocolDeclaration: public Symbol, public Type
+class CPLUSPLUS_EXPORT ObjCForwardProtocolDeclaration: public Symbol
{
public:
ObjCForwardProtocolDeclaration(TranslationUnit *translationUnit, unsigned sourceLocation, Name *name);
@@ -472,24 +472,14 @@ public:
// Symbol's interface
virtual FullySpecifiedType type() const;
- // Type's interface
- virtual bool isEqualTo(const Type *other) const;
-
virtual const ObjCForwardProtocolDeclaration *asObjCForwardProtocolDeclaration() const
{ return this; }
virtual ObjCForwardProtocolDeclaration *asObjCForwardProtocolDeclaration()
{ return this; }
- virtual const ObjCForwardProtocolDeclaration *asObjCForwardProtocolDeclarationType() const
- { return this; }
-
- virtual ObjCForwardProtocolDeclaration *asObjCForwardProtocolDeclarationType()
- { return this; }
-
protected:
virtual void visitSymbol0(SymbolVisitor *visitor);
- virtual void accept0(TypeVisitor *visitor);
private:
};
@@ -526,7 +516,7 @@ private:
Array<ObjCProtocol *> _protocols;
};
-class CPLUSPLUS_EXPORT ObjCForwardClassDeclaration: public Symbol, public Type
+class CPLUSPLUS_EXPORT ObjCForwardClassDeclaration: public Symbol
{
public:
ObjCForwardClassDeclaration(TranslationUnit *translationUnit, unsigned sourceLocation, Name *name);
@@ -535,24 +525,14 @@ public:
// Symbol's interface
virtual FullySpecifiedType type() const;
- // Type's interface
- virtual bool isEqualTo(const Type *other) const;
-
virtual const ObjCForwardClassDeclaration *asObjCForwardClassDeclaration() const
{ return this; }
virtual ObjCForwardClassDeclaration *asObjCForwardClassDeclaration()
{ return this; }
- virtual const ObjCForwardClassDeclaration *asObjCForwardClassDeclarationType() const
- { return this; }
-
- virtual ObjCForwardClassDeclaration *asObjCForwardClassDeclarationType()
- { return this; }
-
protected:
virtual void visitSymbol0(SymbolVisitor *visitor);
- virtual void accept0(TypeVisitor *visitor);
private:
};