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

@@ -35,6 +35,7 @@
namespace ClangBackEnd {
class FilePath;
class RefactoringConnectionClient;
class SourceRangesContainer;
class SourceRangeWithTextContainer;
}
@@ -65,6 +66,7 @@ public:
uint expectedResultCount() const;
uint resultCounter() const;
void setRefactoringConnectionClient(ClangBackEnd::RefactoringConnectionClient *connectionClient);
UNIT_TEST_PUBLIC:
void addSearchResult(const ClangBackEnd::SourceRangeWithTextContainer &sourceRange,
@@ -78,6 +80,7 @@ private:
private:
CppTools::RefactoringEngineInterface::RenameCallback localRenamingCallback;
ClangBackEnd::RefactoringConnectionClient *connectionClient = nullptr;
ClangRefactoring::SearchHandle *searchHandle_ = nullptr;
ClangRefactoring::RefactoringEngine *refactoringEngine = nullptr;
uint expectedResultCount_ = 0;