forked from qt-creator/qt-creator
Adapt to API changes in AnalyzerBase.
Change-Id: Id61d77653c3161f3abc97581f5e9674adf81598b Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
This commit is contained in:
committed by
Andre Poenitz
parent
770a7de8fe
commit
cffd9f8f3e
@@ -156,7 +156,6 @@ bool ClangStaticAnalyzerPlugin::initializeEnterpriseFeatures(const QStringList &
|
|||||||
action->setText(tr("Clang Static Analyzer"));
|
action->setText(tr("Clang Static Analyzer"));
|
||||||
action->setToolTip(toolTip);
|
action->setToolTip(toolTip);
|
||||||
action->setMenuGroup(Constants::G_ANALYZER_TOOLS);
|
action->setMenuGroup(Constants::G_ANALYZER_TOOLS);
|
||||||
action->setStartMode(StartLocal);
|
|
||||||
action->setEnabled(false);
|
action->setEnabled(false);
|
||||||
AnalyzerManager::addAction(action);
|
AnalyzerManager::addAction(action);
|
||||||
|
|
||||||
|
@@ -99,7 +99,6 @@ RunControl *ClangStaticAnalyzerRunControlFactory::create(RunConfiguration *runCo
|
|||||||
|
|
||||||
AnalyzerStartParameters sp;
|
AnalyzerStartParameters sp;
|
||||||
sp.runMode = runMode;
|
sp.runMode = runMode;
|
||||||
sp.startMode = StartLocal;
|
|
||||||
BuildConfiguration * const buildConfiguration = target->activeBuildConfiguration();
|
BuildConfiguration * const buildConfiguration = target->activeBuildConfiguration();
|
||||||
QTC_ASSERT(buildConfiguration, return 0);
|
QTC_ASSERT(buildConfiguration, return 0);
|
||||||
sp.environment = buildConfiguration->environment();
|
sp.environment = buildConfiguration->environment();
|
||||||
|
Reference in New Issue
Block a user