| 168 | } |
| 169 | |
| 170 | void contextImportDecl(DUContext* context, const DeclarationPointer& decl) |
| 171 | { |
| 172 | auto top = context->topContext(); |
| 173 | if (auto import = decl->logicalInternalContext(top)) { |
| 174 | context->addImportedParentContext(import); |
| 175 | context->topContext()->updateImportsCache(); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | //END helpers |
| 180 |
no test coverage detected