diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-11-11 14:28:18 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-11-12 16:40:49 +0100 |
commit | 9a0af7f20b06d818cd5af840660e285c7320b5c9 (patch) | |
tree | f193c3aeb1f826db68f8cd14dc48895749135038 /src/plugins/cpptools/cppmodelmanager_test.cpp | |
parent | 7eeb87295b9c1b465e8a5abaf5fac2ed3892f2b9 (diff) | |
download | qt-creator-9a0af7f20b06d818cd5af840660e285c7320b5c9.tar.gz |
CppTools: Speed up TypeHierarchyBuilder::buildDerived()
Depending files of the file the base class is defined in were look up
for *all* the derived classes. With this change, only the relevant files
for the 'current' base class are looked up.
Tested with qtbase.pro via Ctrl+T on the QObject definition.
- Without this patch: ~60s
- With this patch: ~40s
Change-Id: Ia947f1a4f7d242a0cb81e42d0ef2afab2db70a7f
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager_test.cpp')
0 files changed, 0 insertions, 0 deletions