diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-09-30 15:31:43 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-02 15:33:23 +0200 |
commit | b2e1183cb7f4f552bb4409172f82327111f754bb (patch) | |
tree | f72311abf4c27dc6dd73acb005f5ceabb074d610 /tools/qmllint/findwarnings.h | |
parent | 65b6365ffbde369894f7af1ed735ea34a584d357 (diff) |
qmllint: Remove member access chains from ScopeTree
What we need there is a proper type inference. This should be added
separately. For now, keep the member access chains local in qmllint and
don't pollute ScopeTree with them.
Change-Id: I9f50aa4e54b285bd93e7bd4cd17797509df0c168
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/findwarnings.h')
-rw-r--r-- | tools/qmllint/findwarnings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmllint/findwarnings.h b/tools/qmllint/findwarnings.h index e160e8751c..95d4055cbe 100644 --- a/tools/qmllint/findwarnings.h +++ b/tools/qmllint/findwarnings.h @@ -67,6 +67,8 @@ private: QHash<QQmlJS::SourceLocation, SignalHandler> m_signalHandlers; QQmlJS::SourceLocation m_pendingSingalHandler; + MemberAccessChains m_memberAccessChains; + ScopeTree::Ptr m_rootScope; ScopeTree::Ptr m_currentScope; QQmlJS::AST::ExpressionNode *m_fieldMemberBase = nullptr; |