data: Record errors in precompiled header generation
* also records include dependencies within precompiled header file
This commit is contained in:
@@ -549,7 +549,7 @@ void Project::buildIndex(RefreshInfo info, std::shared_ptr<DialogView> dialogVie
|
||||
{
|
||||
if (sourceGroup->getStatus() == SOURCE_GROUP_STATUS_ENABLED)
|
||||
{
|
||||
preIndexTasks->addTask(sourceGroup->getPreIndexTask(dialogView));
|
||||
preIndexTasks->addTask(sourceGroup->getPreIndexTask(storageProvider, dialogView));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,8 @@ std::shared_ptr<IndexerCommandProvider> SourceGroup::getIndexerCommandProvider(c
|
||||
return std::make_shared<MemoryIndexerCommandProvider>(getIndexerCommands(filesToIndex));
|
||||
}
|
||||
|
||||
std::shared_ptr<Task> SourceGroup::getPreIndexTask(std::shared_ptr<DialogView> dialogView) const
|
||||
std::shared_ptr<Task> SourceGroup::getPreIndexTask(
|
||||
std::shared_ptr<StorageProvider> storageProvider, std::shared_ptr<DialogView> dialogView) const
|
||||
{
|
||||
return std::make_shared<TaskLambda>([]() {});
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ class FilePathFilter;
|
||||
class IndexerCommand;
|
||||
class IndexerCommandProvider;
|
||||
class SourceGroupSettings;
|
||||
class StorageProvider;
|
||||
class Task;
|
||||
|
||||
class SourceGroup
|
||||
@@ -29,7 +30,8 @@ public:
|
||||
virtual std::set<FilePath> getAllSourceFilePaths() const = 0;
|
||||
virtual std::shared_ptr<IndexerCommandProvider> getIndexerCommandProvider(const std::set<FilePath>& filesToIndex) const;
|
||||
virtual std::vector<std::shared_ptr<IndexerCommand>> getIndexerCommands(const std::set<FilePath>& filesToIndex) const = 0;
|
||||
virtual std::shared_ptr<Task> getPreIndexTask(std::shared_ptr<DialogView> dialogView) const;
|
||||
virtual std::shared_ptr<Task> getPreIndexTask(
|
||||
std::shared_ptr<StorageProvider> storageProvider, std::shared_ptr<DialogView> dialogView) const;
|
||||
|
||||
SourceGroupType getType() const;
|
||||
LanguageType getLanguage() const;
|
||||
|
||||
Reference in New Issue
Block a user