summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/memcheckengine.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-01-06 11:40:52 +0100
committerhjk <hjk@theqtcompany.com>2016-01-07 18:11:09 +0000
commit8150209ff7b9a4bb5bf8e580ac05c9dc2fe77854 (patch)
treeaddda607567ebff49c36e70ef431f3f512d8e47a /src/plugins/valgrind/memcheckengine.h
parent312069209220083fcf83a749c8cfcb7db80dad8f (diff)
downloadqt-creator-8150209ff7b9a4bb5bf8e580ac05c9dc2fe77854.tar.gz
Analyzer: Slim down AnalyzerStartParameters
* SysRoot can always be determined from kit. * Pass around RunMode as extra parameter not as part of AnalyzerStartParameters. That's closer to the pattern used elsewhere. * Environment was always initialized from the runconfig's EnvironmentAspect. The tools can do that directly. * Provide setter for display name for cases where it is not equal to RunConfiguration::displayName Change-Id: I811a0d7cdeb55cc37a16a593b3942abb567a2150 Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/memcheckengine.h')
-rw-r--r--src/plugins/valgrind/memcheckengine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/valgrind/memcheckengine.h b/src/plugins/valgrind/memcheckengine.h
index f00c19ee19..06565183d5 100644
--- a/src/plugins/valgrind/memcheckengine.h
+++ b/src/plugins/valgrind/memcheckengine.h
@@ -46,7 +46,8 @@ class MemcheckRunControl : public ValgrindRunControl
public:
MemcheckRunControl(const Analyzer::AnalyzerStartParameters &sp,
- ProjectExplorer::RunConfiguration *runConfiguration);
+ ProjectExplorer::RunConfiguration *runConfiguration,
+ Core::Id runMode);
bool startEngine() override;
void stopEngine() override;