| 408 | } |
| 409 | |
| 410 | ReferenceType const* TypeProvider::withLocation(ReferenceType const* _type, DataLocation _location, bool _isPointer) |
| 411 | { |
| 412 | if (_type->location() == _location && _type->isPointer() == _isPointer) |
| 413 | return _type; |
| 414 | |
| 415 | instance().m_generalTypes.emplace_back(_type->copyForLocation(_location, _isPointer)); |
| 416 | return static_cast<ReferenceType const*>(instance().m_generalTypes.back().get()); |
| 417 | } |
| 418 | |
| 419 | FunctionType const* TypeProvider::function(FunctionDefinition const& _function, FunctionType::Kind _kind) |
| 420 | { |
nothing calls this directly
no test coverage detected