diff options
| author | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-02-27 13:46:41 +0100 |
|---|---|---|
| committer | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-03-01 18:01:03 +0100 |
| commit | 516b464c8e5bc91ff4b6d065c221d344771703c6 (patch) | |
| tree | fe91ef1a8910e75d07343af22bd1e9d4f57bec6e | |
| parent | 2156cbaf55561d960fe0c379f1694eb4e88dee6a (diff) | |
QQmlSA: Remove PassManager::{element|property}Passes() from public API
It complicates things internally and doesn't add much value to the user.
They can still keep track of which passes they have created manually.
QQmlSA is still in technical preview.
[ChangeLog][QML][QQmlSA] PassManager will no longer expose the element
and property passes that it holds. They are only meant to be used inside
the PassManager itself. elementPasses() and propertyPasses() were
removed.
Change-Id: Ibc748309f142794a27266e68ad9d0ce302b51213
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 4eaa8ff8412cad01c29e2d92e393644ce5657081)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| -rw-r--r-- | src/qmlcompiler/qqmlsa.cpp | 18 | ||||
| -rw-r--r-- | src/qmlcompiler/qqmlsa.h | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/qmlcompiler/qqmlsa.cpp b/src/qmlcompiler/qqmlsa.cpp index 13562f73b2..a7e3fdbf5a 100644 --- a/src/qmlcompiler/qqmlsa.cpp +++ b/src/qmlcompiler/qqmlsa.cpp @@ -1946,24 +1946,6 @@ void DebugPropertyPass::onWrite(const QQmlSA::Element &element, const QString &p } /*! - Returns the list of element passes. - */ -std::vector<std::shared_ptr<ElementPass>> PassManager::elementPasses() const -{ - Q_D(const PassManager); - return d->m_elementPasses; -} - -/*! - Returns the list of property passes. - */ -std::multimap<QString, PropertyPassInfo> PassManager::propertyPasses() const -{ - Q_D(const PassManager); - return d->m_propertyPasses; -} - -/*! Returns bindings by their source location. */ std::unordered_map<quint32, Binding> PassManager::bindingsByLocation() const diff --git a/src/qmlcompiler/qqmlsa.h b/src/qmlcompiler/qqmlsa.h index 9f74e9eece..af563859bb 100644 --- a/src/qmlcompiler/qqmlsa.h +++ b/src/qmlcompiler/qqmlsa.h @@ -324,8 +324,6 @@ public: bool isCategoryEnabled(LoggerWarningId category) const; - std::vector<std::shared_ptr<ElementPass>> elementPasses() const; - std::multimap<QString, PropertyPassInfo> propertyPasses() const; std::unordered_map<quint32, Binding> bindingsByLocation() const; private: |
