aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljslogger.cpp
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2025-03-25 15:57:08 +0100
committerSami Shalayel <sami.shalayel@qt.io>2025-04-04 14:51:15 +0200
commit934831b0625d9fcaaf5649a083afdd1c2026ebc9 (patch)
tree70d3e75aea01161f03f71f964d32b9f74deed369 /src/qmlcompiler/qqmljslogger.cpp
parentec7b917ff377cc699f4c422908f048f18545680e (diff)
qmllint: add helpers to create small PropertyPasses
This commit should make implementing small PropertyPasses easier: instead of having to create a new class and registering the PropertyPass into the PassManager, create a Builder that creates a PropertyPass from lambdas and registers it into the pass manager. This avoids having to create a new class inheriting from PropertyPass for each check that will be added with QTBUG-129307. Also add a method to PassManagerPrivate to be able to register propertypasses on builtin objects. This is needed to warn about usages of 'eval()' in a later commit. Task-number: QTBUG-129307 Change-Id: If3ea8d092acae4733aacd62ca7769011f0a7633c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljslogger.cpp')
0 files changed, 0 insertions, 0 deletions