forked from qt-creator/qt-creator
QmlJS: Allow disabling static analyzer messages
Provide settings to define a customized set of enabled static analyzer messages. Fixes: QTCREATORBUG-29095 Change-Id: Id629e383dd9e3beeef98026759ac66716dc43d23 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -104,7 +104,7 @@ QmlJSTools::SemanticInfo SemanticInfoUpdater::makeNewSemanticInfo(const QmlJS::D
|
||||
semanticInfo.staticAnalysisMessages = jsonChecker(schema);
|
||||
}
|
||||
} else {
|
||||
Check checker(doc, semanticInfo.context);
|
||||
Check checker(doc, semanticInfo.context, Core::ICore::settings());
|
||||
semanticInfo.staticAnalysisMessages = checker();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user