aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/findwarnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmllint/findwarnings.h')
-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;