| 2034 | } |
| 2035 | |
| 2036 | std::unique_ptr<ReferenceType> ArrayType::copyForLocation(DataLocation _location, bool _isPointer) const |
| 2037 | { |
| 2038 | auto copy = std::make_unique<ArrayType>(_location); |
| 2039 | if (_location == DataLocation::Storage) |
| 2040 | copy->m_isPointer = _isPointer; |
| 2041 | copy->m_arrayKind = m_arrayKind; |
| 2042 | copy->m_baseType = copy->copyForLocationIfReference(m_baseType); |
| 2043 | copy->m_hasDynamicLength = m_hasDynamicLength; |
| 2044 | copy->m_length = m_length; |
| 2045 | return copy; |
| 2046 | } |
| 2047 | |
| 2048 | BoolResult ArraySliceType::isImplicitlyConvertibleTo(Type const& _other) const |
| 2049 | { |
no test coverage detected