forked from qt-creator/qt-creator
Use QtcProcess for clangbackend
Change-Id: Ifdcdba765409a09861f81dd3dff405115a986801 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -39,9 +39,13 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QTemporaryDir;
|
||||
class QProcessEnvironment;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
class Environment;
|
||||
class QtcProcess;
|
||||
}
|
||||
|
||||
namespace ClangBackEnd {
|
||||
|
||||
class CLANGSUPPORT_EXPORT ProcessCreator
|
||||
@@ -62,12 +66,12 @@ public:
|
||||
|
||||
private:
|
||||
void checkIfProcessPathExists() const;
|
||||
void checkIfProcessWasStartingSuccessful(QProcess *process) const;
|
||||
[[noreturn]] void dispatchProcessError(QProcess *process) const;
|
||||
void checkIfProcessWasStartingSuccessful(Utils::QtcProcess *process) const;
|
||||
[[noreturn]] void dispatchProcessError(Utils::QtcProcess *process) const;
|
||||
void postProcessStartedEvent() const;
|
||||
[[noreturn]] void throwProcessException(const QString &message) const;
|
||||
|
||||
QProcessEnvironment processEnvironment() const;
|
||||
Utils::Environment processEnvironment() const;
|
||||
|
||||
private:
|
||||
std::unique_ptr<Utils::TemporaryDirectory> m_temporaryDirectory;
|
||||
|
||||
Reference in New Issue
Block a user