forked from qt-creator/qt-creator
Clang: Watch directories instead of files
Because there a limited resources to watch files we watch now directories. So we need much less resources. Change-Id: Iac558832e9521a7a1a67c5ea99b42ad1b0b5129c Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include <projectpartsstorage.h>
|
||||
|
||||
#include <filepathcachingfwd.h>
|
||||
#include <filesystem.h>
|
||||
#include <modifiedtimechecker.h>
|
||||
#include <refactoringdatabaseinitializer.h>
|
||||
|
||||
@@ -142,8 +143,9 @@ private:
|
||||
PrecompiledHeaderStorage<Sqlite::Database> m_precompiledHeaderStorage;
|
||||
ProjectPartsStorage<Sqlite::Database> m_projectPartsStorage;
|
||||
SymbolStorage m_symbolStorage;
|
||||
ClangPathWatcher<QFileSystemWatcher, QTimer> m_sourceWatcher{m_filePathCache};
|
||||
FileStatusCache m_fileStatusCache{m_filePathCache};
|
||||
FileSystem m_fileSytem{m_filePathCache};
|
||||
ClangPathWatcher<QFileSystemWatcher, QTimer> m_sourceWatcher{m_filePathCache, m_fileSytem};
|
||||
FileStatusCache m_fileStatusCache{m_fileSytem};
|
||||
SymbolsCollectorManager m_collectorManger;
|
||||
ProgressCounter m_progressCounter;
|
||||
std::function<TimeStamp(FilePathView filePath)> getModifiedTime{
|
||||
|
||||
Reference in New Issue
Block a user