MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / addModuleDefinition

Method addModuleDefinition

src/Library/Library.cpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void Library::addModuleDefinition(ModuleDefinition* def) {
43 m_modules.emplace(m_symbols->registerSymbol(def->getName()), def);
44}
45
46ModuleDefinition* Library::getModule(std::string_view name) const {
47 auto itr = m_modules.find(m_symbols->registerSymbol(name));

Callers 4

elaborateInstance_Method · 0.45
collectObjects_Method · 0.45
createFastLookupMethod · 0.45

Calls 2

registerSymbolMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected