diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-09-30 15:03:04 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-02 15:33:17 +0200 |
commit | 65b6365ffbde369894f7af1ed735ea34a584d357 (patch) | |
tree | ae0fa55acb927ab0b148faa2bc3cf0367e79176e /tools/qmllint/checkidentifiers.h | |
parent | 7957752447fbd2581521b13156ef29ffc80ad7bf (diff) |
qmllint: Remove ScopeTree::m_unmatchedSignalHandlers
Rather, immediately output the warnings when we encounter them.
Change-Id: I4bd1a5491a47cb0232bfdd4e325f8f122593aa39
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmllint/checkidentifiers.h')
-rw-r--r-- | tools/qmllint/checkidentifiers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qmllint/checkidentifiers.h b/tools/qmllint/checkidentifiers.h index 373767420b..2056a80f80 100644 --- a/tools/qmllint/checkidentifiers.h +++ b/tools/qmllint/checkidentifiers.h @@ -51,11 +51,13 @@ public: const QHash<QQmlJS::SourceLocation, SignalHandler> &signalHandlers, const ScopeTree::ConstPtr &root, const QString &rootId) const; + static void printContext(const QString &code, ColorOutput *output, + const QQmlJS::SourceLocation &location); + private: bool checkMemberAccess(const QVector<ScopeTree::FieldMember> &members, const ScopeTree::ConstPtr &outerScope, const MetaProperty *prop = nullptr) const; - void printContext(const QQmlJS::SourceLocation &location) const; ColorOutput *m_colorOut = nullptr; QString m_code; |