diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-01-31 21:03:17 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-02-12 16:10:14 +0100 |
| commit | 3b525507da26c255b6c2792a23f2011599c3f000 (patch) | |
| tree | 02454577ec1dc116111f65e1bef2893986da7bfc /sources/pyside6/doc/tutorials | |
| parent | 405c8324e154eed60f1fd1ba6d9cfdc2c2c0c0ff (diff) | |
shiboken6: Refactor logic for determining constructability
Introduce some bitfields to store whether a class is default/copy
constructable and set those in fixFunctions() instead of
half-duplicating the logic in the query functions, leading to wrong
values being returned for some cases.
Move the code from AbstractMetaBuilder into
AbstractMetaClass::fixFunctions() and make helper functions private.
Add a test with some cases.
[ChangeLog][shiboken6] shiboken's auto-detection of default/copy
constructibility has been improved to take further information from
libclang into account.
Task-number: PYSIDE-3004
Change-Id: I6beff5b1fa25403b6b5fc66c94a7d814acdf26aa
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials')
0 files changed, 0 insertions, 0 deletions
