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.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/messages.cpp b/sources/shiboken6/ApiExtractor/messages.cpp
index 87dc4bd47..29cf6d091 100644
--- a/sources/shiboken6/ApiExtractor/messages.cpp
+++ b/sources/shiboken6/ApiExtractor/messages.cpp
@@ -1061,3 +1061,11 @@ QString msgCannotCall(const AbstractMetaFunctionCPtr &func,
str << " There is no conversion rule.";
return result;
}
+
+QString msgRemoveRedundantOverload(const AbstractMetaFunctionCPtr &func,
+ const QString &type)
+{
+ return "Removing \""_L1 + func->classQualifiedSignature()
+ + "\" due to presence of an overload taking a \""_L1
+ + type + "\" parameter."_L1;
+}