From 5c6382ee849c769e39d3a017966cfd4deb7dc15e Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 22 Mar 2022 08:23:57 +0100 Subject: 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 --- sources/shiboken6/ApiExtractor/messages.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sources/shiboken6/ApiExtractor/messages.h') 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, -- cgit v1.2.3