diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2014-05-15 12:00:13 -0400 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2014-05-23 14:43:30 +0200 |
commit | acbc4b9f07ee8278ee88857c5be224d15e070ffc (patch) | |
tree | 12cd64abf028986905da03a0d7078576e4205e33 /src/libs/3rdparty/cplusplus/Names.h | |
parent | 558f62ec71a43c5fac7838f698edd95a26ff892d (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/Names.h')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Names.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libs/3rdparty/cplusplus/Names.h b/src/libs/3rdparty/cplusplus/Names.h index ca59da702f..3d48b6a237 100644 --- a/src/libs/3rdparty/cplusplus/Names.h +++ b/src/libs/3rdparty/cplusplus/Names.h @@ -41,8 +41,6 @@ public: const Name *base() const; const Name *name() const; - virtual bool isEqualTo(const Name *other) const; - virtual const QualifiedNameId *asQualifiedNameId() const { return this; } @@ -65,8 +63,6 @@ public: virtual const Identifier *identifier() const; - virtual bool isEqualTo(const Name *other) const; - virtual const DestructorNameId *asDestructorNameId() const { return this; } @@ -96,8 +92,6 @@ public: unsigned templateArgumentCount() const; const FullySpecifiedType &templateArgumentAt(unsigned index) const; - virtual bool isEqualTo(const Name *other) const; - virtual const TemplateNameId *asTemplateNameId() const { return this; } @@ -190,7 +184,6 @@ public: Kind kind() const; virtual const Identifier *identifier() const; - virtual bool isEqualTo(const Name *other) const; virtual const OperatorNameId *asOperatorNameId() const { return this; } @@ -212,7 +205,6 @@ public: FullySpecifiedType type() const; virtual const Identifier *identifier() const; - virtual bool isEqualTo(const Name *other) const; virtual const ConversionNameId *asConversionNameId() const { return this; } @@ -240,8 +232,6 @@ public: const Name *nameAt(unsigned index) const; bool hasArguments() const; - virtual bool isEqualTo(const Name *other) const; - virtual const SelectorNameId *asSelectorNameId() const { return this; } @@ -268,7 +258,6 @@ public: unsigned classTokenIndex() const; virtual const Identifier *identifier() const; - virtual bool isEqualTo(const Name *other) const; virtual const AnonymousNameId *asAnonymousNameId() const { return this; } |