diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-03-22 08:23:57 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-03-29 00:06:14 +0200 |
commit | 5c6382ee849c769e39d3a017966cfd4deb7dc15e (patch) | |
tree | 2044a681ecb44bfad3dd1280b87c315061a2ac1e /sources/shiboken6/ApiExtractor/messages.h | |
parent | 370e5c712cafb1ff3ca22cc1f9794904f6d7a14a (diff) |
shiboken6: Synthesize missing smart pointer functions and classes
Add a function to create the smart pointer classes and their relevant
member functions in case they are not in the code model due to being
in some unspecified helper base class.
[ChangeLog][shiboken6] Using std::shared_ptr has been simplified; it
no longer requires specifying all implementation headers for the class
declaration to be fully visible.
Task-number: PYSIDE-454
Change-Id: I870ec59e55e947fa13f875c4af8756246651c466
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/messages.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/messages.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sources/shiboken6/ApiExtractor/messages.h b/sources/shiboken6/ApiExtractor/messages.h index d2a7474b9..cdce6788c 100644 --- a/sources/shiboken6/ApiExtractor/messages.h +++ b/sources/shiboken6/ApiExtractor/messages.h @@ -205,9 +205,6 @@ QString msgCannotUseEnumAsInt(const QString &name); QString msgConversionTypesDiffer(const QString &varType, const QString &conversionType); -QString msgCannotFindSmartPointer(const QString &instantiationType, - const AbstractMetaClassCList &pointers); - QString msgCannotFindSmartPointerGetter(const SmartPointerTypeEntry *); QString msgCannotFindSmartPointerRefCount(const SmartPointerTypeEntry *); @@ -239,6 +236,8 @@ QString msgCyclicDependency(const QString &funcName, const QString &graphName, QString msgClassNotFound(const TypeEntry *t); +QString msgEnclosingClassNotFound(const TypeEntry *t); + QString msgUnknownOperator(const AbstractMetaFunction* func); QString msgWrongIndex(const char *varName, const QString &capture, |