forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user