diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-01 13:56:16 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-03 18:08:07 +0000 |
| commit | 7de80955ccb5383d07183c119b834d12cecedd0c (patch) | |
| tree | b590eb9e3c569faa63dd940df2e176c36f8bb35e /build_scripts/utils.py | |
| parent | 6ae9396660800f67bc95d19e5e5fd326ea268190 (diff) | |
shiboken: Remove finding of the current class in metabuilder
shiboken iterates over the code model items in 2 passes: The first one
generates a list of classes, the second one adds the members. In the
second pass, the function
AbstractMetaBuilderPrivate::currentTraversedClass() was used to find
the AbstractMetaClass instance for the code model item by name.
This is inefficient and causes problems when extending namespaces.
Therefore, replace AbstractMetaBuilderPrivate::currentTraversedClass()
by a hash associating the code model items with the AbstractMetaClass
instances.
Change-Id: I88ea5205d0fde03558db8efb8738632aa3ab6da6
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions
