ClassView: Consolidate document caches into one

We had three different hashes that cached the document data.
Replace it with one cache. Provide a dedicated structure for it.

Task-number: QTCREATORBUG-25317
Change-Id: I6592de62b7c026a9236a295657c9c06f6e9e5b4c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jarek Kobus
2021-02-12 12:43:04 +01:00
parent f6a194b7a7
commit 1364630d1f
2 changed files with 35 additions and 64 deletions

View File

@@ -68,8 +68,6 @@ signals:
void treeDataUpdate(QSharedPointer<QStandardItem> result);
private:
using CitCachedDocTreeRevision = QHash<QString, unsigned>::const_iterator;
void setFileList(const QStringList &fileList);
void resetData(const CPlusPlus::Snapshot &snapshot);
void addProject(const ParserTreeItem::Ptr &item, const QStringList &fileList,