aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/CoreTypes.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2014-05-15 12:00:13 -0400
committerNikolai Kosjar <nikolai.kosjar@digia.com>2014-05-23 14:43:30 +0200
commitacbc4b9f07ee8278ee88857c5be224d15e070ffc (patch)
tree12cd64abf028986905da03a0d7078576e4205e33 /src/libs/3rdparty/cplusplus/CoreTypes.h
parent558f62ec71a43c5fac7838f698edd95a26ff892d (diff)
C++: Get rid of {Name,Type}::isEqualTo()
...since it's superseded by the class Matcher. For consistency, rename FullySpecifiedType::isEqualTo() to match(). Change-Id: I07640f9218d814e0350265de45f05929e5d595a9 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/CoreTypes.h')
-rw-r--r--src/libs/3rdparty/cplusplus/CoreTypes.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libs/3rdparty/cplusplus/CoreTypes.h b/src/libs/3rdparty/cplusplus/CoreTypes.h
index d957767178..04eee89498 100644
--- a/src/libs/3rdparty/cplusplus/CoreTypes.h
+++ b/src/libs/3rdparty/cplusplus/CoreTypes.h
@@ -42,8 +42,6 @@ public:
virtual UndefinedType *asUndefinedType()
{ return this; }
- virtual bool isEqualTo(const Type *other) const;
-
protected:
virtual void accept0(TypeVisitor *visitor);
virtual bool match0(const Type *otherType, Matcher *matcher) const;
@@ -52,8 +50,6 @@ protected:
class CPLUSPLUS_EXPORT VoidType: public Type
{
public:
- virtual bool isEqualTo(const Type *other) const;
-
virtual const VoidType *asVoidType() const
{ return this; }
@@ -86,8 +82,6 @@ public:
int kind() const;
- virtual bool isEqualTo(const Type *other) const;
-
virtual IntegerType *asIntegerType()
{ return this; }
@@ -117,8 +111,6 @@ public:
int kind() const;
- virtual bool isEqualTo(const Type *other) const;
-
virtual const FloatType *asFloatType() const
{ return this; }
@@ -141,8 +133,6 @@ public:
FullySpecifiedType elementType() const;
- virtual bool isEqualTo(const Type *other) const;
-
virtual const PointerType *asPointerType() const
{ return this; }
@@ -166,8 +156,6 @@ public:
const Name *memberName() const;
FullySpecifiedType elementType() const;
- virtual bool isEqualTo(const Type *other) const;
-
virtual const PointerToMemberType *asPointerToMemberType() const
{ return this; }
@@ -192,8 +180,6 @@ public:
FullySpecifiedType elementType() const;
bool isRvalueReference() const;
- virtual bool isEqualTo(const Type *other) const;
-
virtual const ReferenceType *asReferenceType() const
{ return this; }
@@ -218,8 +204,6 @@ public:
FullySpecifiedType elementType() const;
unsigned size() const;
- virtual bool isEqualTo(const Type *other) const;
-
virtual const ArrayType *asArrayType() const
{ return this; }
@@ -243,8 +227,6 @@ public:
const Name *name() const;
- virtual bool isEqualTo(const Type *other) const;
-
virtual const NamedType *asNamedType() const
{ return this; }