Clang: Collect source files

Change-Id: If0183cafd00ed7e42bacbdb72a1d65624dc03cee
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2017-10-26 13:23:27 +02:00
parent 32f2169f77
commit 3c43e5d7ec
17 changed files with 218 additions and 66 deletions

View File

@@ -39,6 +39,8 @@
#include <sqlitereadstatement.h>
#include <sqlitewritestatement.h>
#include <QFileSystemWatcher>
namespace ClangBackEnd {
class SymbolIndexing final : public SymbolIndexingInterface
@@ -72,7 +74,8 @@ private:
SymbolsCollector m_collector{m_filePathCache};
StatementFactory m_statementFactory;
Storage m_symbolStorage{m_statementFactory, m_filePathCache};
SymbolIndexer m_indexer{m_collector, m_symbolStorage};
ClangPathWatcher<QFileSystemWatcher, QTimer> m_sourceWatcher{m_filePathCache};
SymbolIndexer m_indexer{m_collector, m_symbolStorage, m_sourceWatcher};
};
} // namespace ClangBackEnd