forked from qt-creator/qt-creator
C++: Fix some Matcher::match() functions
...before using Matcher instead of {Type,Name}::isEqualTo().
Change-Id: Iba1c04064799fe9c81fe997dbd54fc02b15cdec7
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
4
src/libs/3rdparty/cplusplus/Matcher.h
vendored
4
src/libs/3rdparty/cplusplus/Matcher.h
vendored
@@ -43,8 +43,8 @@ public:
|
||||
Matcher();
|
||||
virtual ~Matcher();
|
||||
|
||||
static bool match(const Type *type, const Type *otherType, Matcher *matcher);
|
||||
static bool match(const Name *name, const Name *otherName, Matcher *matcher);
|
||||
static bool match(const Type *type, const Type *otherType, Matcher *matcher = 0);
|
||||
static bool match(const Name *name, const Name *otherName, Matcher *matcher = 0);
|
||||
|
||||
virtual bool match(const UndefinedType *type, const UndefinedType *otherType);
|
||||
virtual bool match(const VoidType *type, const VoidType *otherType);
|
||||
|
||||
Reference in New Issue
Block a user