| 93 | } |
| 94 | |
| 95 | void UnsureType::exchangeTypes(KDevelop::TypeExchanger* exchanger) |
| 96 | { |
| 97 | for (uint a = 0; a < d_func()->m_typesSize(); ++a) { |
| 98 | AbstractType::Ptr from = d_func()->m_types()[a].abstractType(); |
| 99 | AbstractType::Ptr exchanged = exchanger->exchange(from); |
| 100 | if (exchanged != from) |
| 101 | d_func_dynamic()->m_typesList()[a] = exchanged->indexed(); |
| 102 | } |
| 103 | |
| 104 | KDevelop::AbstractType::exchangeTypes(exchanger); |
| 105 | } |
| 106 | |
| 107 | void UnsureType::addType(const KDevelop::IndexedType& type) |
| 108 | { |
nothing calls this directly
no test coverage detected