diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2025-03-25 16:08:43 +0100 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2025-04-04 14:51:21 +0200 |
| commit | bf6b29fbe87d01e5fa3066b29593f3315c3acfe0 (patch) | |
| tree | 2d0c366893700baa948b08e69d53224813ea7759 /src/qmlcompiler/qqmljsloggingutils.h | |
| parent | 934831b0625d9fcaaf5649a083afdd1c2026ebc9 (diff) | |
qmllint: implement WarnEval
Complain about usages of Eval in qmllint, and make the
qqmljstypepropagator analyze eval calls.
Task-number: QTBUG-129307
Change-Id: I577612220383c624e960db60ed755e0f2dbc59aa
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsloggingutils.h')
| -rw-r--r-- | src/qmlcompiler/qqmljsloggingutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsloggingutils.h b/src/qmlcompiler/qqmljsloggingutils.h index c7431e7cc2..7dde44bf41 100644 --- a/src/qmlcompiler/qqmljsloggingutils.h +++ b/src/qmlcompiler/qqmljsloggingutils.h @@ -78,6 +78,7 @@ extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlTranslationFunction extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlUncreatableType; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlMissingEnumEntry; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlAssignmentInCondition; +extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlEval; QT_END_NAMESPACE |
