forked from qt-creator/qt-creator
Clang: Add Symbol Indexing
It is a first step and now a database is generated if you start QtCreator. Some code is now shared with the PchManager which can be improved in the future. Change-Id: Ic267fe7960f6c455d91832859a673ce98f269aa2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include "mockpchmanagerserver.h"
|
||||
|
||||
#include <pchmanagerclient.h>
|
||||
#include <projectupdater.h>
|
||||
#include <pchmanagerprojectupdater.h>
|
||||
|
||||
#include <precompiledheadersupdatedmessage.h>
|
||||
#include <removepchprojectpartsmessage.h>
|
||||
@@ -49,7 +49,7 @@ protected:
|
||||
MockPchManagerServer mockPchManagerServer;
|
||||
ClangPchManager::PchManagerClient client;
|
||||
MockPchManagerNotifier mockPchManagerNotifier{client};
|
||||
ClangPchManager::ProjectUpdater projectUpdater{mockPchManagerServer, client};
|
||||
ClangPchManager::PchManagerProjectUpdater projectUpdater{mockPchManagerServer, client};
|
||||
Utils::SmallString projectPartId{"projectPartId"};
|
||||
Utils::SmallString pchFilePath{"/path/to/pch"};
|
||||
PrecompiledHeadersUpdatedMessage message{{{projectPartId.clone(), pchFilePath.clone()}}};
|
||||
|
||||
Reference in New Issue
Block a user