aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser/qqmljsast_p.h
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-11-18 15:52:03 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-11-26 15:57:01 +0100
commit6b946bb68bc546572f14811b08f4859a3b86eed6 (patch)
tree74bc7561db978dad707795364bb0fea03e18d6a2 /src/qml/parser/qqmljsast_p.h
parente743b6e5e93392584b0eb10215102952e6a78730 (diff)
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 <andrei.golubev@qt.io>
Diffstat (limited to 'src/qml/parser/qqmljsast_p.h')
-rw-r--r--src/qml/parser/qqmljsast_p.h6
1 files changed, 0 insertions, 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;