aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljslogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlcompiler/qqmljslogger.cpp')
-rw-r--r--src/qmlcompiler/qqmljslogger.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljslogger.cpp b/src/qmlcompiler/qqmljslogger.cpp
index 5b1c2fee9c..c729a623f5 100644
--- a/src/qmlcompiler/qqmljslogger.cpp
+++ b/src/qmlcompiler/qqmljslogger.cpp
@@ -43,6 +43,8 @@ using namespace Qt::StringLiterals;
true) \
X(qmlDeprecated, "deprecated", "Deprecated", "Warn about deprecated properties and types", \
QtWarningMsg, false, false) \
+ X(qmlDuplicateInlineComponent, "duplicate-inline-component", "DuplicateInlineComponent", \
+ "Warn about duplicate inline components", QtWarningMsg, false, false) \
X(qmlDuplicatePropertyBinding, "duplicate-property-binding", "DuplicatePropertyBinding", \
"Warn about duplicate property bindings", QtWarningMsg, false, false) \
X(qmlDuplicatedName, "duplicated-name", "DuplicatedName", \
@@ -119,6 +121,7 @@ using namespace Qt::StringLiterals;
"positives when checking for unqualified access", \
QtWarningMsg, false, false)
+
#define X(category, name, setting, description, level, ignored, isDefault) \
const QQmlSA::LoggerWarningId category{ name };
QMLLINT_DEFAULT_CATEGORIES