forked from qt-creator/qt-creator
ClangRefactoring: Remove FileCache from SymbolStorage
It is not used. Change-Id: Iaff5a34dfe613f0a627e0a3a727af1130ad2b522 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -68,7 +68,7 @@ private:
|
||||
FilePathCachingInterface &m_filePathCache;
|
||||
SymbolsCollector m_collector{m_filePathCache};
|
||||
StatementFactory m_statementFactory;
|
||||
Storage m_symbolStorage{m_statementFactory, m_filePathCache};
|
||||
Storage m_symbolStorage{m_statementFactory};
|
||||
ClangPathWatcher<QFileSystemWatcher, QTimer> m_sourceWatcher{m_filePathCache};
|
||||
FileStatusCache m_fileStatusCache{m_filePathCache};
|
||||
SymbolIndexer m_indexer{m_collector,
|
||||
|
||||
@@ -45,10 +45,8 @@ class SymbolStorage final : public SymbolStorageInterface
|
||||
using Database = typename StatementFactory::Database;
|
||||
|
||||
public:
|
||||
SymbolStorage(StatementFactory &statementFactory,
|
||||
FilePathCachingInterface &filePathCache)
|
||||
: m_statementFactory(statementFactory),
|
||||
m_filePathCache(filePathCache)
|
||||
SymbolStorage(StatementFactory &statementFactory)
|
||||
: m_statementFactory(statementFactory)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -266,7 +264,6 @@ public:
|
||||
|
||||
private:
|
||||
StatementFactory &m_statementFactory;
|
||||
FilePathCachingInterface &m_filePathCache;
|
||||
};
|
||||
|
||||
} // namespace ClangBackEnd
|
||||
|
||||
Reference in New Issue
Block a user