Skip to content
Snippets Groups Projects
Commit 2b0954ca authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

C++: Remove class/function/enum extraction from CppLocatorData.


With every single change in a document the corresponding IndexItem
elements were extracted and put into an vector. The locator filters
then used these lists to iterate over and filter them.

This change removes that extraction, and the filtering now directly
iterates over the IndexItem elements with a callback.

The exception is the current document filter, because it also queries
for all declarations. Adding this to the model would result in a higher
memory usage, while that information is only used by this filter.

Change-Id: Ibe445cc11e9f68b5d807348fd46c7cac4aff4c85
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 13d2d499
No related branches found
No related tags found
No related merge requests found
Showing with 139 additions and 146 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment