Skip to content
Snippets Groups Projects
user avatar
Nikolai Kosjar authored
Until now the locator filters CppLocatorFilter, CppClassesFilter and
CppFunctionsFilter used unnecessarily their own SearchSymbols instance.
The results were also saved separately, which was unfavorable since e.g.
the functions and classes data could be shared.

Starting with this patch an instance of LocatorData will serve all
mentioned filters.

This saves about 20MB of memory after indexing the Qt Creator project.

Change-Id: I8a34b67eb9fe0e5c68ba6e7c8f576389c78efc6f
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
fc731a3a
History
Name Last commit Last update
..
CppTools.pluginspec.in
abstracteditorsupport.cpp
abstracteditorsupport.h
builtinindexingsupport.cpp
builtinindexingsupport.h
commentssettings.cpp
commentssettings.h
completionsettingspage.cpp
completionsettingspage.h
completionsettingspage.ui
cppchecksymbols.cpp
cppchecksymbols.h
cppclassesfilter.cpp
cppclassesfilter.h
cppcodeformatter.cpp
cppcodeformatter.h
cppcodegen_test.cpp
cppcodestylepreferences.cpp
cppcodestylepreferences.h
cppcodestylepreferencesfactory.cpp
cppcodestylepreferencesfactory.h
cppcodestylesettings.cpp
cppcodestylesettings.h
cppcodestylesettingspage.cpp
cppcodestylesettingspage.h
cppcodestylesettingspage.ui
cppcompletion_test.cpp
cppcompletionassist.cpp
cppcompletionassist.h
cppcompletionassistprovider.cpp
cppcompletionassistprovider.h
cppcompletionsupport.cpp
cppcompletionsupport.h
cppcurrentdocumentfilter.cpp
cppcurrentdocumentfilter.h
cppdoxygen.cpp
cppdoxygen.h
cppfilesettingspage.cpp
cppfilesettingspage.h
cppfilesettingspage.ui
cppfindreferences.cpp
cppfindreferences.h
cppfunctionsfilter.cpp
cppfunctionsfilter.h
cpphighlightingsupport.cpp
cpphighlightingsupport.h
cpphighlightingsupportinternal.cpp
cpphighlightingsupportinternal.h
cppindexingsupport.cpp
cppindexingsupport.h
cpplocalsymbols.cpp
cpplocalsymbols.h
cpplocatordata.cpp
cpplocatordata.h
cpplocatorfilter.cpp
cpplocatorfilter.h
cpplocatorfilter_test.cpp
cppmodelmanager.cpp
cppmodelmanager.h
cppmodelmanager_test.cpp
cppmodelmanagerinterface.cpp
cppmodelmanagerinterface.h
cpppointerdeclarationformatter.cpp
cpppointerdeclarationformatter.h
cpppointerdeclarationformatter_test.cpp
cpppreprocessertesthelper.cpp
cpppreprocessertesthelper.h
cpppreprocessor.cpp
cpppreprocessor.h
cpppreprocessor_test.cpp
cppprojectfile.cpp
cppprojectfile.h
cppqtstyleindenter.cpp
cppqtstyleindenter.h
cpprefactoringchanges.cpp
cpprefactoringchanges.h
cppsemanticinfo.cpp
cppsemanticinfo.h
cpptools.pro
cpptools.qbs
cpptools_dependencies.pri
cpptools_global.h
cpptoolsconstants.h
cpptoolseditorsupport.cpp
cpptoolseditorsupport.h
cpptoolsplugin.cpp
cpptoolsplugin.h
cpptoolsreuse.cpp
cpptoolsreuse.h
cpptoolssettings.cpp
cpptoolssettings.h
doxygengenerator.cpp
doxygengenerator.h
includeutils.cpp
includeutils.h
insertionpointlocator.cpp
insertionpointlocator.h
modelmanagertesthelper.cpp
modelmanagertesthelper.h
searchsymbols.cpp