Can also be called with a context that is not in the list
| 319 | |
| 320 | //Can also be called with a context that is not in the list |
| 321 | void DUContextDynamicData::removeImportedChildContext(DUContext* context) |
| 322 | { |
| 323 | // ENSURE_CAN_WRITE |
| 324 | DUContext::Import import(m_context, context); |
| 325 | |
| 326 | if (import.isDirect()) { |
| 327 | d_func_dynamic()->m_importersList().removeOne(IndexedDUContext(context)); |
| 328 | } else { |
| 329 | //Indirect importers are registered separately |
| 330 | Importers::self().removeImporter(import.indirectDeclarationId(), IndexedDUContext(context)); |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | int DUContext::depth() const |
| 335 | { |
no test coverage detected