forked from qt-creator/qt-creator
CPlusPlus: Fix warnings about overriding visit(...) methods
Change-Id: I142b6c7b6573518dbd44557f3a66c5d683bb592d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -626,6 +626,9 @@ private:
|
|||||||
|
|
||||||
bool found() const { return _found; }
|
bool found() const { return _found; }
|
||||||
private:
|
private:
|
||||||
|
using TypeVisitor::visit;
|
||||||
|
using NameVisitor::visit;
|
||||||
|
|
||||||
void visit(PointerType *type) override { accept(type->elementType().type()); }
|
void visit(PointerType *type) override { accept(type->elementType().type()); }
|
||||||
void visit(ReferenceType *type) override { accept(type->elementType().type()); }
|
void visit(ReferenceType *type) override { accept(type->elementType().type()); }
|
||||||
void visit(NamedType *type) override { accept(type->name()); }
|
void visit(NamedType *type) override { accept(type->name()); }
|
||||||
|
Reference in New Issue
Block a user