| 34 | } |
| 35 | |
| 36 | QString UnsureType::toString() const |
| 37 | { |
| 38 | QStringList typeNames; |
| 39 | typeNames.reserve(d_func()->m_typesSize()); |
| 40 | FOREACH_FUNCTION(const IndexedType &type, d_func()->m_types) { |
| 41 | AbstractType::Ptr t = type.abstractType(); |
| 42 | if (t) |
| 43 | typeNames.append(t->toString()); |
| 44 | else |
| 45 | typeNames.append(QStringLiteral("none")); |
| 46 | } |
| 47 | QString ret = QLatin1String("unsure (") + typeNames.join(QLatin1String(", ")) + QLatin1Char(')'); |
| 48 | |
| 49 | return ret; |
| 50 | } |
| 51 | |
| 52 | bool UnsureType::equals(const KDevelop::AbstractType* rhs) const |
| 53 | { |
no test coverage detected