diff options
| author | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-05-06 15:49:25 +0200 |
|---|---|---|
| committer | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-05-19 20:41:03 +0200 |
| commit | ae3754df95d7281eb6ddf5308befc65dc157934f (patch) | |
| tree | e43642563d3f4448f120c10570c3aec1b00f0c6d /src/qmlcompiler/qqmljsloggingutils.h | |
| parent | b44e844f4acb5d045c6a360f3d0aac4d54e37558 (diff) | |
qmllint: Warn about enum entries matching the name of the enum itself
Fixes: QTBUG-117300
Task-number: QTBUG-119890
Change-Id: If503b3dbfe9c8ad916afa3b570861f62c33e1fbd
Reviewed-by: Fabian Kosmale <fabian.kosmale@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 7fcfcdf881..17acf2a7a5 100644 --- a/src/qmlcompiler/qqmljsloggingutils.h +++ b/src/qmlcompiler/qqmljsloggingutils.h @@ -55,6 +55,7 @@ extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlDuplicateImport; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlDuplicateInlineComponent; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlDuplicatePropertyBinding; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlDuplicatedName; +extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlEnumEntryMatchesEnum; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlEval; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlFunctionUsedBeforeDeclaration; extern const Q_QMLCOMPILER_EXPORT QQmlSA::LoggerWarningId qmlImport; |
