From 6b946bb68bc546572f14811b08f4859a3b86eed6 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Thu, 18 Nov 2021 15:52:03 +0100 Subject: [PATCH] QML/AST: Remove dead code The qmldevtools library is no more, therefore we can resolve the TODO and remove the method that only existed for it. Change-Id: I685d9305e4b42a34ade56baccce0ec2e49cbcf4a Reviewed-by: Andrei Golubev --- src/qml/parser/qqmljsast_p.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/qml/parser/qqmljsast_p.h b/src/qml/parser/qqmljsast_p.h index f9e62c79fd..eba09d3c2e 100644 --- a/src/qml/parser/qqmljsast_p.h +++ b/src/qml/parser/qqmljsast_p.h @@ -313,12 +313,6 @@ public: node->accept(visitor); } - // ### Remove when we can. This is part of the qmldevtools library, though. - inline static void acceptChild(Node *node, BaseVisitor *visitor) - { - return accept(node, visitor); - } - virtual void accept0(BaseVisitor *visitor) = 0; virtual SourceLocation firstSourceLocation() const = 0; virtual SourceLocation lastSourceLocation() const = 0;