data: Fixes in indexing
* Show status update for every indexed translation unit and only once * Save nodes in same order they were indexed
This commit is contained in:
@@ -85,6 +85,7 @@ private:
|
||||
std::string serialize(const StorageError& error) const;
|
||||
|
||||
std::unordered_map<std::string, StorageNode> m_nodes;
|
||||
std::vector<StorageNode> m_nodesInOrder;
|
||||
|
||||
std::unordered_set<std::string> m_serializedFiles; // this is used to prevent duplicates (unique)
|
||||
std::vector<StorageFile> m_files;
|
||||
@@ -92,6 +93,7 @@ private:
|
||||
std::vector<StorageSymbol> m_symbols;
|
||||
|
||||
std::unordered_map<std::string, StorageEdge> m_edges;
|
||||
std::vector<StorageEdge> m_edgesInOrder;
|
||||
|
||||
std::unordered_map<std::string, StorageLocalSymbol> m_localSymbols;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user