aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-10-21 09:24:27 +0200
committerLars Knoll <lars.knoll@qt.io>2020-10-21 11:25:19 +0200
commit0ecc1e928c096ce7f29a9c9eeee5f6b77b8f6292 (patch)
treef7ad197856bc8fb65ab0a081b5fc0b0260d6ce5d /tools/qmllint
parentd22ea28589767189cb0e38fc68bf5d7f308d0417 (diff)
Compile with Clang11
Change-Id: I9f3a4a6b6c7a2fbfca0a572209f398a23c26b37b Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint')
-rw-r--r--tools/qmllint/findwarnings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/qmllint/findwarnings.h b/tools/qmllint/findwarnings.h
index f60a003a4d..bf3fd0015e 100644
--- a/tools/qmllint/findwarnings.h
+++ b/tools/qmllint/findwarnings.h
@@ -98,6 +98,10 @@ private:
void throwRecursionDepthError() override;
+ // work around compiler error in clang11
+ using QQmlJSImportVisitor::visit;
+ using QQmlJSImportVisitor::endVisit;
+
// start block/scope handling
bool visit(QQmlJS::AST::ExpressionStatement *ast) override;
void endVisit(QQmlJS::AST::ExpressionStatement *ast) override;