Base class for all static analysis plugins. 更多...
头: | #include <LintPlugin> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
状态: | 技术预览 |
virtual void | registerPasses (QQmlSA::PassManager * manager , const QQmlSA::Element & rootElement ) = 0 |
[pure virtual]
void
LintPlugin::
registerPasses
(
QQmlSA::PassManager
*
manager
, const
QQmlSA::Element
&
rootElement
)
Adds a pass manager that will be executed on rootElement .