| 1651 | } |
| 1652 | |
| 1653 | DUContext::Import::Import(DUContext* _context, const DUContext* importer, const CursorInRevision& _position) |
| 1654 | : position(_position) |
| 1655 | { |
| 1656 | if (_context && _context->owner() && |
| 1657 | (_context->owner()->specialization().index() || |
| 1658 | (importer && importer->topContext() != _context->topContext()))) { |
| 1659 | m_declaration = _context->owner()->id(); |
| 1660 | } else { |
| 1661 | m_context = _context; |
| 1662 | } |
| 1663 | } |
| 1664 | |
| 1665 | DUContext::Import::Import(const DeclarationId& id, const CursorInRevision& _position) |
| 1666 | : position(_position) |
nothing calls this directly
no test coverage detected