diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-26 14:16:11 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-27 06:24:15 +0000 |
| commit | 636b9a4bd5624d8ddb00da53b16add546e3944c4 (patch) | |
| tree | 34d65abff69395ca6ae03b2e0930a2d4bdeb7dd6 /sources/pyside2/tests/pysidetest/enum_test.py | |
| parent | 80ab9a3b6e8ba704e14a6ffa04d8f78870b56b59 (diff) | |
shiboken2: Handle typedefs of template parameters within templates
Typedefs of template parameters like
template <class T> class QList
{
using reference = T&;
are reported as "type-parameter-0-0" by clang. Resolve that to the
proper name of the template parameter in the clang builder. Also,
these typeinfo results must not be cached since the same CXType is
used for parameters of unrelated templates. Rename the
createTypeInfoHelper() function to createTypeInfoUncached() for
clarity and introduce a cacheable parameter.
Change-Id: I2b21a4dfdd8d86cf36497832837c21f37cb86518
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/tests/pysidetest/enum_test.py')
0 files changed, 0 insertions, 0 deletions
