ClangPchManager: Introduce PchTasksMerger

So far no merging is happening but we will add it after the rest of the
pipeline is in shape.

Task-number: QTCREATORBUG-21381
Change-Id: I610c243eabcb305843ad6339fdc636b0c3966fc1
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-12-03 17:44:38 +01:00
parent 24ecd7fe6a
commit 96eb407266
16 changed files with 355 additions and 43 deletions

View File

@@ -36,7 +36,8 @@
#include <refactoringserver.h>
#include <sqlitedatabase.h>
#include <QDir>
#include <utils/temporarydirectory.h>
#include <QTemporaryFile>
namespace {
@@ -100,7 +101,7 @@ protected:
FileContainer source{{TESTDATA_DIR, "query_simplefunction.cpp"},
sourceContent.clone(),
{"cc", toNativePath(TESTDATA_DIR"/query_simplefunction.cpp")}};
QTemporaryFile temporaryFile{QDir::tempPath() + "/clangQuery-XXXXXX.cpp"};
QTemporaryFile temporaryFile{Utils::TemporaryDirectory::masterDirectoryPath() + "/clangQuery-XXXXXX.cpp"};
int processingSlotCount = 2;
};