| 219 | |
| 220 | template <class Item> |
| 221 | void TopDUContextDynamicData::DUChainItemStorage<Item>::clearItems() |
| 222 | { |
| 223 | //Due to template specialization it's possible that a declaration is not reachable through the normal context structure. |
| 224 | //For that reason we have to check here, and delete all remaining declarations. |
| 225 | qDeleteAll(temporaryItems); |
| 226 | temporaryItems.clear(); |
| 227 | qDeleteAll(items); |
| 228 | items.clear(); |
| 229 | } |
| 230 | |
| 231 | namespace KDevelop { |
| 232 | template <> |
no test coverage detected