aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/Type.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/Type.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/Type.h')
-rw-r--r--src/libs/3rdparty/cplusplus/Type.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libs/3rdparty/cplusplus/Type.h b/src/libs/3rdparty/cplusplus/Type.h
index 70cfa77235..958ba15efd 100644
--- a/src/libs/3rdparty/cplusplus/Type.h
+++ b/src/libs/3rdparty/cplusplus/Type.h
@@ -97,10 +97,7 @@ public:
void accept(TypeVisitor *visitor);
static void accept(Type *type, TypeVisitor *visitor);
- static bool match(const Type *type, const Type *otherType, Matcher *matcher);
-
-
- virtual bool isEqualTo(const Type *other) const = 0; // ### remove
+ bool match(const Type *other, Matcher *matcher = 0) const;
protected:
virtual void accept0(TypeVisitor *visitor) = 0;
@@ -112,5 +109,4 @@ protected: // for Matcher
} // namespace CPlusPlus
-
#endif // CPLUSPLUS_TYPE_H