aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/messages.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/messages.cpp23
1 files changed, 9 insertions, 14 deletions
diff --git a/sources/shiboken6/ApiExtractor/messages.cpp b/sources/shiboken6/ApiExtractor/messages.cpp
index 235f03ab9..c074df785 100644
--- a/sources/shiboken6/ApiExtractor/messages.cpp
+++ b/sources/shiboken6/ApiExtractor/messages.cpp
@@ -671,20 +671,6 @@ QString msgConversionTypesDiffer(const QString &varType, const QString &conversi
return result;
}
-QString msgCannotFindSmartPointer(const QString &instantiationType,
- const AbstractMetaClassCList &pointers)
-{
- QString result;
- QTextStream str(&result);
- str << "Unable to find smart pointer type for " << instantiationType << " (known types:";
- for (auto t : pointers) {
- auto typeEntry = t->typeEntry();
- str << ' ' << typeEntry->targetLangName() << '/' << typeEntry->qualifiedCppName();
- }
- str << ").";
- return result;
-}
-
QString msgCannotFindSmartPointerGetter(const SmartPointerTypeEntry *te)
{
return u"Getter \""_qs + te->getter() + u"()\" of smart pointer \""_qs
@@ -759,6 +745,15 @@ QString msgClassNotFound(const TypeEntry *t)
+ QLatin1String("\" in the code model. Maybe it is forward declared?");
}
+QString msgEnclosingClassNotFound(const TypeEntry *t)
+{
+ QString result;
+ QTextStream str(&result);
+ str << "Warning: Enclosing class \"" << t->parent()->name()
+ << "\" of class \"" << t->name() << "\" not found.";
+ return result;
+}
+
QString msgUnknownOperator(const AbstractMetaFunction* func)
{
QString result = QLatin1String("Unknown operator: \"") + func->originalName()