diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-02-17 11:21:19 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-02-17 15:16:07 +0100 |
| commit | 1a53685c10dc3dab972a42fe02166ff0349320f4 (patch) | |
| tree | e73903b2480a30013fa901ad89ed4ad2f05478cc /sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | |
| parent | 27d4e8e66008c2d95f06c957c1036638c7284dbf (diff) | |
shiboken6: Fix handling of parameters for values with copy constructors only
Introduce a check function to ShibokenGenerator to ensure it is
pass-by-value or pass-by-const-ref to prevent dereferencing the
parameters in case they are passed by pointer (see
QHelpContentItem::childPosition(QHelpContentItem *)).
Change-Id: I385e2bd5c0dfc34ce1ba75cb0c6eebde7ea9c68a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
