ClangTools: Remove temporary dirs

...when a new run is triggered instead of on Qt Creator shutdown.

There is no reason to keep them around for longer than needed.

Change-Id: Ida7698843cc2f8822ffd662679cf5da2c4ece05c
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Nikolai Kosjar
2018-06-05 10:37:42 +02:00
parent 71f02417e7
commit b81e5cb3b2
3 changed files with 5 additions and 8 deletions

View File

@@ -30,6 +30,7 @@
#include <projectexplorer/runconfiguration.h>
#include <cpptools/projectinfo.h>
#include <utils/environment.h>
#include <utils/temporarydirectory.h>
#include <QFutureInterface>
#include <QStringList>
@@ -90,7 +91,7 @@ protected:
ProjectBuilder *m_projectBuilder;
Utils::Environment m_environment;
QString m_clangExecutable;
QString m_clangLogFileDir;
Utils::TemporaryDirectory m_temporaryDir;
private:
QPointer<ProjectExplorer::Target> m_target;