Clang: Connect alive timer

You had to set the no alive timer environment variable.

Change-Id: I1994087a68d8293963f9f48fa1632f7c6822b146
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2016-12-05 15:19:39 +01:00
parent cf885a138c
commit e8960b9bd3
3 changed files with 14 additions and 1 deletions

View File

@@ -25,6 +25,7 @@
#include "refactoringclient.h"
#include <refactoringconnectionclient.h>
#include <sourcelocationsforrenamingmessage.h>
#include <sourcerangesanddiagnosticsforquerymessage.h>
@@ -32,7 +33,8 @@ namespace ClangRefactoring {
void RefactoringClient::alive()
{
if (connectionClient)
connectionClient->resetProcessAliveTimer();
}
void RefactoringClient::sourceLocationsForRenamingMessage(
@@ -96,6 +98,12 @@ uint RefactoringClient::resultCounter() const
return resultCounter_;
}
void RefactoringClient::setRefactoringConnectionClient(
ClangBackEnd::RefactoringConnectionClient *connectionClient)
{
this->connectionClient = connectionClient;
}
namespace {
Utils::SmallString concatenateFilePath(const ClangBackEnd::FilePath &filePath)