| 247 | } |
| 248 | |
| 249 | void Declaration::setAbstractType(AbstractType::Ptr type) |
| 250 | { |
| 251 | ENSURE_CAN_WRITE |
| 252 | DUCHAIN_D_DYNAMIC(Declaration); |
| 253 | |
| 254 | d->m_type = type ? type->indexed() : IndexedType(); |
| 255 | |
| 256 | updateCodeModel(); |
| 257 | } |
| 258 | |
| 259 | Declaration* Declaration::specialize(const IndexedInstantiationInformation& /*specialization*/, |
| 260 | const TopDUContext* topContext, int /*upDistance*/) |
no test coverage detected