forked from qt-creator/qt-creator
C++: Fix compilation with C++<11
and MSVC that disallows override on dtor Change-Id: I8a8897fe1318dee0c6d9b4d5d9d515e4631f9318 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
0afa004c0b
commit
749e5452fc
24
src/libs/3rdparty/cplusplus/SafeMatcher.h
vendored
24
src/libs/3rdparty/cplusplus/SafeMatcher.h
vendored
@@ -36,23 +36,23 @@
|
||||
|
||||
namespace CPlusPlus {
|
||||
|
||||
class SafeMatcher: public Matcher
|
||||
class SafeMatcher : public Matcher
|
||||
{
|
||||
public:
|
||||
SafeMatcher();
|
||||
~SafeMatcher() override;
|
||||
~SafeMatcher();
|
||||
|
||||
bool match(const PointerToMemberType *type, const PointerToMemberType *otherType) override;
|
||||
bool match(const PointerType *type, const PointerType *otherType) override;
|
||||
bool match(const ReferenceType *type, const ReferenceType *otherType) override;
|
||||
bool match(const ArrayType *type, const ArrayType *otherType) override;
|
||||
bool match(const NamedType *type, const NamedType *otherType) override;
|
||||
bool match(const PointerToMemberType *type, const PointerToMemberType *otherType);
|
||||
bool match(const PointerType *type, const PointerType *otherType);
|
||||
bool match(const ReferenceType *type, const ReferenceType *otherType);
|
||||
bool match(const ArrayType *type, const ArrayType *otherType);
|
||||
bool match(const NamedType *type, const NamedType *otherType);
|
||||
|
||||
bool match(const TemplateNameId *name, const TemplateNameId *otherName) override;
|
||||
bool match(const DestructorNameId *name, const DestructorNameId *otherName) override;
|
||||
bool match(const ConversionNameId *name, const ConversionNameId *otherName) override;
|
||||
bool match(const QualifiedNameId *name, const QualifiedNameId *otherName) override;
|
||||
bool match(const SelectorNameId *name, const SelectorNameId *otherName) override;
|
||||
bool match(const TemplateNameId *name, const TemplateNameId *otherName);
|
||||
bool match(const DestructorNameId *name, const DestructorNameId *otherName);
|
||||
bool match(const ConversionNameId *name, const ConversionNameId *otherName);
|
||||
bool match(const QualifiedNameId *name, const QualifiedNameId *otherName);
|
||||
bool match(const SelectorNameId *name, const SelectorNameId *otherName);
|
||||
|
||||
private:
|
||||
std::vector<const Type *> _blockedTypes;
|
||||
|
||||
Reference in New Issue
Block a user