diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-09-25 16:56:17 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-10-01 13:15:34 +0000 |
commit | f5f9ad6b7af6ae85202e3107a94a0d762c0ee3f3 (patch) | |
tree | 11caca7ab8e5498a64a371e14a9f074a6f4cbc8e /sources/shiboken2/tests/libsample/collector.h | |
parent | 9d4aefc1f1d1fb4dfa76baa0d59e96d7193b88b4 (diff) |
shiboken: Check whether enum should be converted to int for the protected hack
Find the AbstractMetaEnum belonging to the type entry and perform some
checks. Generally do not use int for public enums. Warn when a
protected scoped enum is encountered as this cannot be converted.
Task-number: PYSIDE-817
Change-Id: I02b566093b331ea2ea627bf72964aad0a1a51c83
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/tests/libsample/collector.h')
0 files changed, 0 insertions, 0 deletions