Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/language/duchain/types/unsuretype.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 48 | FOREACH_FUNCTION(const IndexedType& type, d_func()->m_types) { | |||
---|---|---|---|---|---|
51 | first = false; | 51 | first = false; | ||
52 | 52 | | |||
53 | AbstractType::Ptr t = type.abstractType(); | 53 | AbstractType::Ptr t = type.abstractType(); | ||
54 | if(t) | 54 | if(t) | ||
55 | ret += t->toString(); | 55 | ret += t->toString(); | ||
56 | else | 56 | else | ||
57 | ret += QLatin1String("none"); | 57 | ret += QLatin1String("none"); | ||
58 | } | 58 | } | ||
59 | ret += ')'; | 59 | ret += QLatin1Char(')'); | ||
60 | 60 | | |||
61 | return ret; | 61 | return ret; | ||
62 | } | 62 | } | ||
63 | 63 | | |||
64 | bool UnsureType::equals(const KDevelop::AbstractType* rhs) const { | 64 | bool UnsureType::equals(const KDevelop::AbstractType* rhs) const { | ||
65 | const UnsureType* rhsU = dynamic_cast<const UnsureType*>(rhs); | 65 | const UnsureType* rhsU = dynamic_cast<const UnsureType*>(rhs); | ||
66 | if(!rhsU) | 66 | if(!rhsU) | ||
67 | return false; | 67 | return false; | ||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |