ClangTools: Simplify a few signatures

A runWorker's project and target cannot change and are obtainable via
the runControl.

Change-Id: I9ce62e94a964dde9b29abf0d1f05eddcd4b87c14
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
hjk
2019-08-27 11:47:45 +02:00
parent 4f19baaf7c
commit a4022c6156
5 changed files with 27 additions and 32 deletions

View File

@@ -66,7 +66,6 @@ class ClangToolRunWorker : public ProjectExplorer::RunWorker
public:
ClangToolRunWorker(ProjectExplorer::RunControl *runControl,
ProjectExplorer::Target *target,
const FileInfos &fileInfos);
bool success() const { return m_success; } // For testing.
@@ -102,7 +101,6 @@ protected:
Utils::TemporaryDirectory m_temporaryDir;
private:
QPointer<ProjectExplorer::Target> m_target;
FileInfos m_fileInfos;
CppTools::ProjectInfo m_projectInfoBeforeBuild;