| 290 | } |
| 291 | |
| 292 | std::string ModuleInstance::getInstanceName() const { |
| 293 | if (m_definition == nullptr) { |
| 294 | std::string name = |
| 295 | m_instName.substr(m_instName.find("&", 0, 1) + 1, m_instName.size()); |
| 296 | return name; |
| 297 | } else { |
| 298 | return m_instName; |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | std::string_view ModuleInstance::getModuleName() const { |
| 303 | if (m_definition == nullptr) { |
no outgoing calls
no test coverage detected